equal
deleted
inserted
replaced
61 |
61 |
62 // When using JVMCI the address might be off by the size of a call instruction. |
62 // When using JVMCI the address might be off by the size of a call instruction. |
63 bool CompiledMethod::is_deopt_entry(address pc) { |
63 bool CompiledMethod::is_deopt_entry(address pc) { |
64 return pc == deopt_handler_begin() |
64 return pc == deopt_handler_begin() |
65 #if INCLUDE_JVMCI |
65 #if INCLUDE_JVMCI |
66 || pc == (deopt_handler_begin() + NativeCall::instruction_size) |
66 || (is_compiled_by_jvmci() && pc == (deopt_handler_begin() + NativeCall::instruction_size)) |
67 #endif |
67 #endif |
68 ; |
68 ; |
69 } |
69 } |
70 |
70 |
71 // Returns a string version of the method state. |
71 // Returns a string version of the method state. |