summaryrefslogtreecommitdiff
path: root/quickjs.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2025-04-15 10:50:59 +0200
committerFabrice Bellard <fabrice@bellard.org>2025-04-15 10:50:59 +0200
commit8f99de5b7faa82d07e0ebd5489f6e99a8554d77c (patch)
treee1a8078111a9e353b169995357f35482d611210f /quickjs.c
parent8bb41b20dd07a0c21cd70d9d28147bc87802697a (diff)
downloadquickjs-8f99de5b7faa82d07e0ebd5489f6e99a8554d77c.tar.gz
quickjs-8f99de5b7faa82d07e0ebd5489f6e99a8554d77c.zip
spec update: ToPropertyKey() is now done after the evaluation of the expression in assignments
Diffstat (limited to 'quickjs.c')
-rw-r--r--quickjs.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/quickjs.c b/quickjs.c
index 29c53ba..31375c5 100644
--- a/quickjs.c
+++ b/quickjs.c
@@ -23778,11 +23778,7 @@ static __exception int get_lvalue(JSParseState *s, int *popcode, int *pscope,
update_label(fd, label, 1);
opcode = OP_get_ref_value;
break;
- case OP_get_array_el:
- emit_op(s, OP_to_propkey2);
- break;
- case OP_get_super_value:
- emit_op(s, OP_to_propkey);
+ default:
break;
}
}