pop address off stack in jsr instruction before compiling the code which follows

This commit is contained in:
Joel Dice 2007-12-27 13:32:34 -07:00
parent ea2935f5f1
commit 00c095b564

View File

@ -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: