Skip to content

Commit e752352

Browse files
authored
Remove old index name from WebAssembly.Memory & Table constructors (#23928)
The new name should now be supported in all places memory64 is supported.
1 parent a41e1d0 commit e752352

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

src/lib/libcore.js

-4
Original file line numberDiff line numberDiff line change
@@ -2275,10 +2275,6 @@ addToLibrary({
22752275
#endif
22762276
#if MEMORY64 == 1
22772277
'address': 'i64',
2278-
// TODO(sbc): remove this alias for 'address' once both firefox and
2279-
// chrome roll out the spec change.
2280-
// See https://github.com/WebAssembly/memory64/pull/92
2281-
'index': 'i64',
22822278
#endif
22832279
'element': 'anyfunc'
22842280
});

src/runtime_init_memory.js

-4
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ if (!ENVIRONMENT_IS_PTHREAD) {
4848
#endif
4949
#if MEMORY64 == 1
5050
'address': 'i64',
51-
// TODO(sbc): remove this alias for `address` once both firefox and
52-
// chrome roll out the spec change.
53-
// See https://github.com/WebAssembly/memory64/pull/92
54-
'index': 'i64',
5551
#endif
5652
});
5753
}

test/core/test_module_wasm_memory.js

-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ Module['wasmMemory'] = new WebAssembly.Memory({
1111
'initial': 256n,
1212
'maximum': 256n,
1313
'address': 'i64',
14-
// TODO(sbc): remove this alias for `address` once both firefox and
15-
// chrome roll out the spec change.
16-
// See https://github.com/WebAssembly/memory64/pull/92
17-
'index': 'i64',
1814
#else
1915
'initial': 256,
2016
'maximum': 256,

0 commit comments

Comments
 (0)