Skip to content

Commit 40dd27d

Browse files
committed
Enable table64 lowering pass
1 parent 67bfe26 commit 40dd27d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test/test_core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4052,6 +4052,7 @@ def test_dylink_basics(self):
40524052
self.verify_in_strict_mode('main.js')
40534053

40544054
@with_dylink_reversed
4055+
@no_wasm64('Requires table64 lowering in all cases')
40554056
def test_dylink_basics_no_modify(self):
40564057
if self.is_optimizing():
40574058
self.skipTest('no modify mode only works with non-optimizing builds')

tools/link.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,9 @@ def check_human_readable_list(items):
405405
if settings.MEMORY64 == 2:
406406
passes += ['--memory64-lowering']
407407

408+
if settings.MEMORY64:
409+
passes += ['--table64-lowering']
410+
408411
if settings.BINARYEN_IGNORE_IMPLICIT_TRAPS:
409412
passes += ['--ignore-implicit-traps']
410413
# normally we can assume the memory, if imported, has not been modified

0 commit comments

Comments
 (0)