Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/frame_x86.hpp @ 1204:18a389214829
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
author | twisti |
---|---|
date | Mon, 01 Feb 2010 19:29:46 +0100 |
parents | a61af66fc99e |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1203:844a9d73ec22 | 1204:18a389214829 |
---|---|
161 | 161 |
162 intptr_t* ptr_at_addr(int offset) const { | 162 intptr_t* ptr_at_addr(int offset) const { |
163 return (intptr_t*) addr_at(offset); | 163 return (intptr_t*) addr_at(offset); |
164 } | 164 } |
165 | 165 |
166 #if ASSERT | |
167 // Used in frame::sender_for_{interpreter,compiled}_frame | |
168 static void verify_deopt_original_pc( nmethod* nm, intptr_t* unextended_sp, bool is_method_handle_return = false); | |
169 static void verify_deopt_mh_original_pc(nmethod* nm, intptr_t* unextended_sp) { | |
170 verify_deopt_original_pc(nm, unextended_sp, true); | |
171 } | |
172 #endif | |
173 | |
166 public: | 174 public: |
167 // Constructors | 175 // Constructors |
168 | 176 |
169 frame(intptr_t* sp, intptr_t* fp, address pc); | 177 frame(intptr_t* sp, intptr_t* fp, address pc); |
170 | 178 |