summaryrefslogtreecommitdiff
path: root/quickjs.c
diff options
context:
space:
mode:
Diffstat (limited to 'quickjs.c')
-rw-r--r--quickjs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/quickjs.c b/quickjs.c
index 817d927..1af08ec 100644
--- a/quickjs.c
+++ b/quickjs.c
@@ -29868,6 +29868,7 @@ static int resolve_scope_private_field(JSContext *ctx, JSFunctionDef *s,
/* obj func value */
dbuf_putc(bc, OP_call_method);
dbuf_put_u16(bc, 1);
+ dbuf_putc(bc, OP_drop);
}
break;
default:
@@ -31945,7 +31946,7 @@ static __exception int ss_check(JSContext *ctx, StackSizeState *s,
if (s->stack_level_tab[pos] != 0xffff) {
/* already explored: check that the stack size is consistent */
if (s->stack_level_tab[pos] != stack_len) {
- JS_ThrowInternalError(ctx, "unconsistent stack size: %d %d (pc=%d)",
+ JS_ThrowInternalError(ctx, "inconsistent stack size: %d %d (pc=%d)",
s->stack_level_tab[pos], stack_len, pos);
return -1;
} else {