summaryrefslogtreecommitdiff
path: root/quickjs-opcode.h
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2023-12-07 17:51:32 +0100
committerFabrice Bellard <fabrice@bellard.org>2023-12-07 17:51:32 +0100
commit55a4878a605a6707b1754b4b807deec62c8fc895 (patch)
treefd5a6e7ef719d9c5791bf330a43bfa1f5b92099a /quickjs-opcode.h
parent321dbfa770463b8867d8ac90493c7cec015a9c3a (diff)
downloadquickjs-55a4878a605a6707b1754b4b807deec62c8fc895.tar.gz
quickjs-55a4878a605a6707b1754b4b807deec62c8fc895.zip
fixed private field setters (github issue #194)
Diffstat (limited to 'quickjs-opcode.h')
-rw-r--r--quickjs-opcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quickjs-opcode.h b/quickjs-opcode.h
index c731a14..15a9fce 100644
--- a/quickjs-opcode.h
+++ b/quickjs-opcode.h
@@ -279,7 +279,7 @@ def( scope_get_ref, 7, 0, 2, atom_u16) /* emitted in phase 1, removed in phase
def(scope_put_var_init, 7, 0, 2, atom_u16) /* emitted in phase 1, removed in phase 2 */
def(scope_get_private_field, 7, 1, 1, atom_u16) /* obj -> value, emitted in phase 1, removed in phase 2 */
def(scope_get_private_field2, 7, 1, 2, atom_u16) /* obj -> obj value, emitted in phase 1, removed in phase 2 */
-def(scope_put_private_field, 7, 1, 1, atom_u16) /* obj value ->, emitted in phase 1, removed in phase 2 */
+def(scope_put_private_field, 7, 2, 0, atom_u16) /* obj value ->, emitted in phase 1, removed in phase 2 */
def( set_class_name, 5, 1, 1, u32) /* emitted in phase 1, removed in phase 2 */