mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
Save cur_pc on delete OP
Fixes: https://github.com/quickjs-ng/quickjs/issues/431
This commit is contained in:
parent
b09ad82622
commit
c98d445b63
1 changed files with 1 additions and 0 deletions
|
@ -16860,6 +16860,7 @@ static JSValue JS_CallInternal(JSContext *caller_ctx, JSValue func_obj,
|
||||||
}
|
}
|
||||||
BREAK;
|
BREAK;
|
||||||
CASE(OP_delete):
|
CASE(OP_delete):
|
||||||
|
sf->cur_pc = pc;
|
||||||
if (js_operator_delete(ctx, sp))
|
if (js_operator_delete(ctx, sp))
|
||||||
goto exception;
|
goto exception;
|
||||||
sp--;
|
sp--;
|
||||||
|
|
Loading…
Reference in a new issue