diff options
author | twisti <none@none> | 2010-02-01 19:29:46 +0100 |
---|---|---|
committer | twisti <none@none> | 2010-02-01 19:29:46 +0100 |
commit | 04d9efc8775f2c4366f545514e027bc15b2ccb33 (patch) | |
tree | cc3134a757094eefa013ebd187d94eef5ad94dd3 /src/cpu/x86/vm/frame_x86.hpp | |
parent | 5e4a23adb86f0e79b012e68ad92f6ee13db0678e (diff) |
6921352: JSR 292 needs its own deopt handler
Summary: We need to introduce a new MH deopt handler so we can easily determine if the deopt happened at a MH call site or not.
Reviewed-by: never, jrose
Diffstat (limited to 'src/cpu/x86/vm/frame_x86.hpp')
-rw-r--r-- | src/cpu/x86/vm/frame_x86.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cpu/x86/vm/frame_x86.hpp b/src/cpu/x86/vm/frame_x86.hpp index 3668f2da2..b21449f84 100644 --- a/src/cpu/x86/vm/frame_x86.hpp +++ b/src/cpu/x86/vm/frame_x86.hpp @@ -163,6 +163,14 @@ return (intptr_t*) addr_at(offset); } +#if ASSERT + // Used in frame::sender_for_{interpreter,compiled}_frame + static void verify_deopt_original_pc( nmethod* nm, intptr_t* unextended_sp, bool is_method_handle_return = false); + static void verify_deopt_mh_original_pc(nmethod* nm, intptr_t* unextended_sp) { + verify_deopt_original_pc(nm, unextended_sp, true); + } +#endif + public: // Constructors |