Correctly restore EP after it has been used by the translation of the TRY instruction.
[GB.JIT] * BUG: Correctly restore EP after it has been used by the translation of the TRY instruction.
This commit is contained in:
parent
a66ce09e79
commit
f0f113da2b
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue