fix jsr/ret stack mapping regression

My last commit introduced a regression in JIT compilation of
subroutines.  This reverts the specific change which caused the
regression.  Further work will be needed to address the case which
that change was intended to fix (namely, exception handlers which
apply to multiple try/catch blocks).
This commit is contained in:
Joel Dice 2011-04-08 20:15:36 -06:00
parent 36aa0d6792
commit 97aec1691e

View File

@ -6965,7 +6965,7 @@ compile(MyThread* t, Context* context)
RUNTIME_ARRAY_BODY(visited)[i] = true;
progress = true;
if (context->visitTable[exceptionHandlerIp(eh)] == 0) {
if (true) {//context->visitTable[exceptionHandlerIp(eh)] == 0) {
THREAD_RUNTIME_ARRAY
(t, uint8_t, stackMap,
codeMaxStack(t, methodCode(t, context->method)));