Skip to content

Commit 7e0b9bd

Browse files
committed
[wasm64] Remove table64 lowering by default
The engines that support memory64 now all also support table64.
1 parent 463fe75 commit 7e0b9bd

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tools/link.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2002,12 +2002,6 @@ def run_embind_gen(wasm_target, js_syms, extra_settings, linker_inputs):
20022002
emscripten.emscript(wasm_target, outfile_wasm, outfile_js, js_syms, finalize=False)
20032003
# Build the flags needed by Node.js to properly run the output file.
20042004
node_args = []
2005-
if settings.MEMORY64:
2006-
node_args += shared.node_memory64_flags()
2007-
# Currently we don't have any engines that support table64 so we need
2008-
# to lower it in order to run the output.
2009-
# In the normal flow this happens later in `phase_binaryen`
2010-
building.run_wasm_opt(outfile_wasm, outfile_wasm, ['--table64-lowering'])
20112005
if settings.WASM_EXCEPTIONS:
20122006
node_args += shared.node_exception_flags(config.NODE_JS)
20132007
# Run the generated JS file with the proper flags to generate the TypeScript bindings.

0 commit comments

Comments
 (0)