Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalCodeInstaller.cpp @ 15264:29e3ba750c9e
graalCodeInstaller translate BytecodeFrame::BEFORE_BCI into SynchronizationEntryBCI
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 22 Apr 2014 15:12:38 +0200 |
parents | 7a9531f50cd8 |
children | a20be10ad437 |
comparison
equal
deleted
inserted
replaced
15263:0b25b81414c9 | 15264:29e3ba750c9e |
---|---|
674 } | 674 } |
675 | 675 |
676 oop hotspot_method = BytecodePosition::method(frame); | 676 oop hotspot_method = BytecodePosition::method(frame); |
677 Method* method = getMethodFromHotSpotMethod(hotspot_method); | 677 Method* method = getMethodFromHotSpotMethod(hotspot_method); |
678 jint bci = BytecodePosition::bci(frame); | 678 jint bci = BytecodePosition::bci(frame); |
679 if (bci == BytecodeFrame::BEFORE_BCI()) { | |
680 bci = SynchronizationEntryBCI; | |
681 } | |
679 bool reexecute; | 682 bool reexecute; |
680 if (bci == -1 || bci == -2){ | 683 if (bci == SynchronizationEntryBCI){ |
681 reexecute = false; | 684 reexecute = false; |
682 } else { | 685 } else { |
683 Bytecodes::Code code = Bytecodes::java_code_at(method, method->bcp_from(bci)); | 686 Bytecodes::Code code = Bytecodes::java_code_at(method, method->bcp_from(bci)); |
684 reexecute = bytecode_should_reexecute(code); | 687 reexecute = bytecode_should_reexecute(code); |
685 if (frame != NULL) { | 688 if (frame != NULL) { |