Skip to content

Commit 6bb80ec

Browse files
committed
Fix metadce tests
1 parent fc61db3 commit 6bb80ec

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

tests/other/metadce/hello_world_O3_MAIN_MODULE.sent

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,7 @@ _computeUnpackAlignedImageSize
392392
_emscripten_do_request_fullscreen
393393
_emscripten_push_main_loop_blocker
394394
_emscripten_push_uncounted_main_loop_blocker
395+
_emscripten_save_in_unwind_cache
395396
_emscripten_traverse_stack
396397
_exit
397398
_fillBatteryEventData
@@ -967,7 +968,7 @@ emscripten_set_webglcontextrestored_callback_on_thread
967968
emscripten_set_wheel_callback_on_thread
968969
emscripten_sleep
969970
emscripten_stack_snapshot
970-
emscripten_stack_unwind
971+
emscripten_stack_unwind_buffer
971972
emscripten_supports_offscreencanvas
972973
emscripten_throw_number
973974
emscripten_throw_string

tests/other/metadce/hello_world_fastcomp_O3_MAIN_MODULE.sent

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ __computeUnpackAlignedImageSize
398398
__emscripten_do_request_fullscreen
399399
__emscripten_push_main_loop_blocker
400400
__emscripten_push_uncounted_main_loop_blocker
401+
__emscripten_save_in_unwind_cache
401402
__emscripten_traverse_stack
402403
__exit
403404
__fillBatteryEventData
@@ -963,7 +964,7 @@ _emscripten_set_webglcontextrestored_callback_on_thread
963964
_emscripten_set_wheel_callback_on_thread
964965
_emscripten_sleep
965966
_emscripten_stack_snapshot
966-
_emscripten_stack_unwind
967+
_emscripten_stack_unwind_buffer
967968
_emscripten_supports_offscreencanvas
968969
_emscripten_throw_number
969970
_emscripten_throw_string

tests/test_other.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7926,7 +7926,7 @@ def test_binaryen_metadce_cxx_fastcomp(self, *args):
79267926
# don't compare the # of functions in a main module, which changes a lot
79277927
# TODO(sbc): Investivate why the number of exports is order of magnitude
79287928
# larger for wasm backend.
7929-
'main_module_1': (['-O3', '-s', 'MAIN_MODULE=1'], 1590, [], [], 517336, 172, 1484, None), # noqa
7929+
'main_module_1': (['-O3', '-s', 'MAIN_MODULE=1'], 1591, [], [], 517336, 172, 1484, None), # noqa
79307930
'main_module_2': (['-O3', '-s', 'MAIN_MODULE=2'], 15, [], [], 10770, 17, 13, None), # noqa
79317931
})
79327932
@no_fastcomp()
@@ -7946,7 +7946,7 @@ def test_binaryen_metadce_hello(self, *args):
79467946
0, [], [], 8, 0, 0, 0), # noqa; totally empty!
79477947
# we don't metadce with linkable code! other modules may want stuff
79487948
# don't compare the # of functions in a main module, which changes a lot
7949-
'main_module_1': (['-O3', '-s', 'MAIN_MODULE=1'], 1552, [], [], 226403, 30, 96, None), # noqa
7949+
'main_module_1': (['-O3', '-s', 'MAIN_MODULE=1'], 1553, [], [], 226403, 30, 96, None), # noqa
79507950
'main_module_2': (['-O3', '-s', 'MAIN_MODULE=2'], 15, [], [], 10571, 19, 9, 21), # noqa
79517951
})
79527952
@no_wasm_backend()

0 commit comments

Comments
 (0)