Skip to content

Commit 86e22aa

Browse files
authored
Update JS-test generation after WebAssembly#90 and WebAssembly#92 (WebAssembly#94)
"index" was renamed to "address". Without this change, all JS tests generated from the core tests will fail.
1 parent ade7380 commit 86e22aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interpreter/script/js.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ let spectest = {
3737
global_f64: 666.6,
3838
table: new WebAssembly.Table({initial: 10, maximum: 20, element: 'anyfunc'}),
3939
table64: new WebAssembly.Table(
40-
{initial: 10n, maximum: 20n, element: 'anyfunc', index: 'i64'}),
40+
{initial: 10n, maximum: 20n, element: 'anyfunc', address: 'i64'}),
4141
memory: new WebAssembly.Memory({initial: 1, maximum: 2}),
42-
memory64: new WebAssembly.Memory({initial: 1n, maximum: 2n, index: 'i64'})
42+
memory64: new WebAssembly.Memory({initial: 1n, maximum: 2n, address: 'i64'})
4343
};
4444

4545
let handler = {

0 commit comments

Comments
 (0)