From 97aec1691ebea196186897670034f4994cad6df6 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Fri, 8 Apr 2011 20:15:36 -0600 Subject: [PATCH] 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). --- src/compile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compile.cpp b/src/compile.cpp index 8e06e89a01..6a53368436 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -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)));