diff --git a/main/lib/jit/jit_body.c b/main/lib/jit/jit_body.c index 81e070609..7a3effc69 100644 --- a/main/lib/jit/jit_body.c +++ b/main/lib/jit/jit_body.c @@ -3244,8 +3244,8 @@ _QUIT: _TRY: - //declare(&_decl_tp, "VALUE *tp"); - JIT_print(" EP = sp;\n"); + declare(&_decl_tp, "VALUE *tp"); + JIT_print(" tp = EP; EP = sp;\n"); JIT_print(" TRY {\n"); p++; goto _MAIN; @@ -3262,7 +3262,7 @@ _END_TRY: JIT_print(" *JIT.got_error = 1;\n"); JIT_print(" JIT.error_set_last(FALSE);\n"); JIT_print(" } END_TRY\n"); - JIT_print(" EP = NULL;\n"); + JIT_print(" EP = tp;\n"); goto _MAIN; _CATCH: