Mercurial > hg > truffle
diff src/cpu/x86/vm/frame_x86.inline.hpp @ 3755:5cf771a79037
7047697: MethodHandle.invokeExact call for wrong method causes VM failure if run with -Xcomp
Reviewed-by: never, twisti
author | jrose |
---|---|
date | Wed, 08 Jun 2011 17:04:06 -0700 |
parents | 167b70ff3abc |
children | 3dbcd1013cc8 da91efe96a93 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/frame_x86.inline.hpp Sat Jun 04 10:36:22 2011 -0700 +++ b/src/cpu/x86/vm/frame_x86.inline.hpp Wed Jun 08 17:04:06 2011 -0700 @@ -45,6 +45,7 @@ _pc = pc; assert(pc != NULL, "no pc?"); _cb = CodeCache::find_blob(pc); + adjust_unextended_sp(); address original_pc = nmethod::get_deopt_original_pc(this); if (original_pc != NULL) { @@ -92,6 +93,7 @@ // assert(_pc != NULL, "no pc?"); _cb = CodeCache::find_blob(_pc); + adjust_unextended_sp(); address original_pc = nmethod::get_deopt_original_pc(this); if (original_pc != NULL) {