Skip to content

Commit

Permalink
Save cur_pc on delete OP
Browse files Browse the repository at this point in the history
Fixes: #431
  • Loading branch information
saghul committed Jun 13, 2024
1 parent b09ad82 commit c98d445
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions quickjs.c
Original file line number Diff line number Diff line change
Expand Up @@ -16860,6 +16860,7 @@ static JSValue JS_CallInternal(JSContext *caller_ctx, JSValue func_obj,
}
BREAK;
CASE(OP_delete):
sf->cur_pc = pc;
if (js_operator_delete(ctx, sp))
goto exception;
sp--;
Expand Down

0 comments on commit c98d445

Please sign in to comment.