Mercurial > hg > graal-compiler
diff src/share/vm/code/nmethod.hpp @ 5056:2f2c6347fce4
comments cleanup/retagging
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Thu, 08 Mar 2012 15:01:19 +0100 |
parents | 33df1aeaebbf |
children | ab038e0d6b43 |
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.hpp Wed Mar 07 14:35:22 2012 -0800 +++ b/src/share/vm/code/nmethod.hpp Thu Mar 08 15:01:19 2012 +0100 @@ -594,8 +594,8 @@ // Return true is the PC is one would expect if the frame is being deopted. bool is_deopt_pc (address pc) { return is_deopt_entry(pc) || is_deopt_mh_entry(pc); } - // (tw) When using graal, the address might be off by 5 (because this is the size of the call instruction. - // (tw) TODO: Replace this by a more general mechanism. + // (thomaswue) When using graal, the address might be off by 5 (because this is the size of the call instruction. + // (thomaswue) TODO: Replace this by a more general mechanism. bool is_deopt_entry (address pc) { return pc == deopt_handler_begin() IS_GRAAL( || pc == deopt_handler_begin() + 5); } bool is_deopt_mh_entry(address pc) { return pc == deopt_mh_handler_begin(); } // Accessor/mutator for the original pc of a frame before a frame was deopted.