Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/couch_quickjs/patches/01-spidermonkey-185-mode.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- quickjs-master/quickjs.c 2025-10-18 06:04:12
+++ quickjs/quickjs.c 2025-10-20 10:47:26
@@ -31017,10 +31017,24 @@
--- quickjs-master/quickjs.c 2025-11-03 12:53:32
+++ quickjs/quickjs.c 2025-11-03 16:58:35
@@ -31279,10 +31279,24 @@
if (s->token.val == TOK_FUNCTION ||
(token_is_pseudo_keyword(s, JS_ATOM_async) &&
peek_token(s, TRUE) == TOK_FUNCTION)) {
Expand Down
10 changes: 5 additions & 5 deletions src/couch_quickjs/patches/02-test262-errors.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
--- quickjs-master/test262_errors.txt 2025-10-18 06:04:12
+++ quickjs/test262_errors.txt 2025-10-20 10:49:07
@@ -6,6 +6,8 @@
test262/test/annexB/language/expressions/assignmenttargettype/callexpression.js:33: SyntaxError: invalid assignment left-hand side
test262/test/annexB/language/expressions/assignmenttargettype/cover-callexpression-and-asyncarrowhead.js:20: SyntaxError: invalid assignment left-hand side
--- quickjs-master/test262_errors.txt 2025-11-03 12:53:32
+++ quickjs/test262_errors.txt 2025-11-03 16:58:35
@@ -19,6 +19,8 @@
test262/test/language/expressions/compound-assignment/S11.13.2_A6.10_T1.js:24: Test262Error: #1: innerX === 2. Actual: 5
test262/test/language/expressions/compound-assignment/S11.13.2_A6.11_T1.js:24: Test262Error: #1: innerX === 2. Actual: 5
test262/test/language/identifier-resolution/assign-to-global-undefined.js:20: strict mode: expected error
+test262/test/language/statements/expression/S12.4_A1.js:15: unexpected error type: Test262: This statement should not be evaluated.
+test262/test/language/statements/expression/S12.4_A1.js:15: strict mode: unexpected error type: Test262: This statement should not be evaluated.
Expand Down
11 changes: 4 additions & 7 deletions src/couch_quickjs/quickjs/quickjs-opcode.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,17 +123,14 @@ DEF( regexp, 1, 2, 1, none) /* create a RegExp object from the pattern a
DEF( get_super, 1, 1, 1, none)
DEF( import, 1, 2, 1, none) /* dynamic module import */

DEF( get_var_undef, 5, 0, 1, atom) /* push undefined if the variable does not exist */
DEF( get_var, 5, 0, 1, atom) /* throw an exception if the variable does not exist */
DEF( put_var, 5, 1, 0, atom) /* must come after get_var */
DEF( put_var_init, 5, 1, 0, atom) /* must come after put_var. Used to initialize a global lexical variable */
DEF( get_var_undef, 3, 0, 1, var_ref) /* push undefined if the variable does not exist */
DEF( get_var, 3, 0, 1, var_ref) /* throw an exception if the variable does not exist */
DEF( put_var, 3, 1, 0, var_ref) /* must come after get_var */
DEF( put_var_init, 3, 1, 0, var_ref) /* must come after put_var. Used to initialize a global lexical variable */

DEF( get_ref_value, 1, 2, 3, none)
DEF( put_ref_value, 1, 3, 0, none)

DEF( define_var, 6, 0, 0, atom_u8)
DEF(check_define_var, 6, 0, 0, atom_u8)
DEF( define_func, 6, 1, 0, atom_u8)
DEF( get_field, 5, 1, 1, atom)
DEF( get_field2, 5, 1, 2, atom)
DEF( put_field, 5, 2, 0, atom)
Expand Down
Loading