set stack index to the correct value when unwinding to an exception handler

This commit is contained in:
Joel Dice 2007-07-10 17:32:03 -06:00
parent 9d4c589ab1
commit 950e1eb5cb

View File

@ -3191,7 +3191,7 @@ run(Thread* t)
== arrayBody(t, t->vm->types, Machine::ClassType) and
instanceOf(t, catchType, exception)))
{
sp = frameBase(t, frame);
sp = frame + FrameFootprint;
ip = exceptionHandlerIp(eh);
pushObject(t, exception);
exception = 0;