diff options
author | kseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-01 02:50:02 +0000 |
---|---|---|
committer | kseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-01 02:50:02 +0000 |
commit | 80934e558cb2f162bb8017d715173cf588679161 (patch) | |
tree | e543ef00b8fa24ac5e6abb57bd1297c25a7db7d0 /libjava/include/java-interp.h | |
parent | 4537ba413e59a0154592b08d13d4a5ff2e62fb17 (diff) | |
download | gcc-80934e558cb2f162bb8017d715173cf588679161.tar.gz |
* interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before
executing the instruction.
* include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract
one insn from the frame's PC. _Jv_InterpMethod::run et al
will advance the PC before executing the instruction.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124313 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include/java-interp.h')
-rw-r--r-- | libjava/include/java-interp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/include/java-interp.h b/libjava/include/java-interp.h index 8da0584af8e..4bded047bb3 100644 --- a/libjava/include/java-interp.h +++ b/libjava/include/java-interp.h @@ -465,7 +465,7 @@ public: else pc = *pc_ptr; - return pc; + return pc - 1; } }; |