mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
6975855: don't emit deopt MH handler in C1 if not required
This CR implements the same for C1 as 6926782 for C2. Reviewed-by: never
This commit is contained in:
parent
dc37d152e7
commit
c9ac8cc788
4 changed files with 24 additions and 6 deletions
|
@ -438,6 +438,12 @@ void LIR_Assembler::emit_call(LIR_OpJavaCall* op) {
|
|||
default: ShouldNotReachHere();
|
||||
}
|
||||
|
||||
// JSR 292
|
||||
// Record if this method has MethodHandle invokes.
|
||||
if (op->is_method_handle_invoke()) {
|
||||
compilation()->set_has_method_handle_invokes(true);
|
||||
}
|
||||
|
||||
#if defined(X86) && defined(TIERED)
|
||||
// C2 leave fpu stack dirty clean it
|
||||
if (UseSSE < 2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue