Skip to content

Commit e70909d

Browse files
committed
Fix fully initializing JSStackFrame
Fixes: #323
1 parent 5e5b00c commit e70909d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

quickjs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14574,6 +14574,7 @@ static JSValue JS_CallInternal(JSContext *caller_ctx, JSValue func_obj,
1457414574
if (js_check_stack_overflow(rt, alloca_size))
1457514575
return JS_ThrowStackOverflow(caller_ctx);
1457614576

14577+
sf->cur_pc = NULL;
1457714578
sf->js_mode = b->js_mode;
1457814579
arg_buf = argv;
1457914580
sf->arg_count = argc;

0 commit comments

Comments
 (0)