mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6930772: JSR 292 needs to support SPARC C1
C1 for SPARC needs to support JSR 292. Reviewed-by: never, jrose
This commit is contained in:
parent
c9f2ba541b
commit
2e24ba80e9
28 changed files with 164 additions and 137 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.
|
||||
* Copyright 1998-2010 Sun Microsystems, Inc. All Rights Reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -188,8 +188,8 @@ const char* InlineTree::shouldNotInline(ciMethod *callee_method, ciMethod* calle
|
|||
return NULL;
|
||||
}
|
||||
|
||||
// Always inline MethodHandle methods.
|
||||
if (callee_method->is_method_handle_invoke())
|
||||
// Always inline MethodHandle methods and generated MethodHandle adapters.
|
||||
if (callee_method->is_method_handle_invoke() || callee_method->is_method_handle_adapter())
|
||||
return NULL;
|
||||
|
||||
// First check all inlining restrictions which are required for correctness
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue