From 00c095b564e466ae478d15e52c5778746f04b2f2 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Thu, 27 Dec 2007 13:32:34 -0700 Subject: [PATCH] pop address off stack in jsr instruction before compiling the code which follows --- src/compile.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/compile.cpp b/src/compile.cpp index 2c7ee498c4..c10b0cd243 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -18,7 +18,7 @@ vmJump(void* address, void* base, void* stack, void* thread); namespace { -const bool Verbose = false; +const bool Verbose = true; const bool DebugNatives = false; const bool DebugTraces = false; @@ -2505,6 +2505,8 @@ compile(MyThread* t, Frame* initialFrame, unsigned ip) // from the subroutine as at call time. compile(t, frame, newIp); if (UNLIKELY(t->exception)) return; + + frame->pop(1); } break; case l2i: