about summary refs log tree commit diff stats
path: root/lib/quickjs/quickjs.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2023-12-22 11:04:54 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-22 15:05:54 +0100
commitcc7163ecd4b99b149fa16a2c41155493aec26448 (patch)
tree2512adc4b50e2611602e987d0320303d2ce7946b /lib/quickjs/quickjs.c
parentcbd3e7c49001d15ea17aecb869af830bfd2cadcc (diff)
downloadchawan-cc7163ecd4b99b149fa16a2c41155493aec26448.tar.gz
removed incorrect await in async yield*
Diffstat (limited to 'lib/quickjs/quickjs.c')
-rw-r--r--lib/quickjs/quickjs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/quickjs/quickjs.c b/lib/quickjs/quickjs.c
index fb965382..2bddb9e4 100644
--- a/lib/quickjs/quickjs.c
+++ b/lib/quickjs/quickjs.c
@@ -25283,7 +25283,6 @@ static __exception int js_parse_assign_expr2(JSParseState *s, int parse_flags)
                 /* OP_async_yield_star takes the value as parameter */
                 emit_op(s, OP_get_field);
                 emit_atom(s, JS_ATOM_value);
-                emit_op(s, OP_await);
                 emit_op(s, OP_async_yield_star);
             } else {
                 /* OP_yield_star takes (value, done) as parameter */