fix stack tracking weirdness for jsr instruction

This commit is contained in:
Joel Dice 2008-06-10 18:16:02 -06:00
parent 5b2065e76c
commit dc136bb751

View File

@ -2790,6 +2790,8 @@ compile(MyThread* t, Frame* initialFrame, unsigned ip,
assert(t, newIp < codeLength(t, code)); assert(t, newIp < codeLength(t, code));
c->saveStack();
frame->pushAddress(frame->machineIp(ip)); frame->pushAddress(frame->machineIp(ip));
c->jmp(frame->machineIp(newIp)); c->jmp(frame->machineIp(newIp));