From 80934e558cb2f162bb8017d715173cf588679161 Mon Sep 17 00:00:00 2001 From: kseitz Date: Tue, 1 May 2007 02:50:02 +0000 Subject: * 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 --- libjava/include/java-interp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libjava/include/java-interp.h') 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; } }; -- cgit v1.2.3