Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
3754:642c68c75db9 | 3755:5cf771a79037 |
---|---|
43 _unextended_sp = sp; | 43 _unextended_sp = sp; |
44 _fp = fp; | 44 _fp = fp; |
45 _pc = pc; | 45 _pc = pc; |
46 assert(pc != NULL, "no pc?"); | 46 assert(pc != NULL, "no pc?"); |
47 _cb = CodeCache::find_blob(pc); | 47 _cb = CodeCache::find_blob(pc); |
48 adjust_unextended_sp(); | |
48 | 49 |
49 address original_pc = nmethod::get_deopt_original_pc(this); | 50 address original_pc = nmethod::get_deopt_original_pc(this); |
50 if (original_pc != NULL) { | 51 if (original_pc != NULL) { |
51 _pc = original_pc; | 52 _pc = original_pc; |
52 _deopt_state = is_deoptimized; | 53 _deopt_state = is_deoptimized; |
90 // Then we could use the assert below. However this assert is of somewhat dubious | 91 // Then we could use the assert below. However this assert is of somewhat dubious |
91 // value. | 92 // value. |
92 // assert(_pc != NULL, "no pc?"); | 93 // assert(_pc != NULL, "no pc?"); |
93 | 94 |
94 _cb = CodeCache::find_blob(_pc); | 95 _cb = CodeCache::find_blob(_pc); |
96 adjust_unextended_sp(); | |
95 | 97 |
96 address original_pc = nmethod::get_deopt_original_pc(this); | 98 address original_pc = nmethod::get_deopt_original_pc(this); |
97 if (original_pc != NULL) { | 99 if (original_pc != NULL) { |
98 _pc = original_pc; | 100 _pc = original_pc; |
99 _deopt_state = is_deoptimized; | 101 _deopt_state = is_deoptimized; |