diff options
author | Alon Zakai <azakai@google.com> | 2023-10-23 12:31:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-23 12:31:10 -0700 |
commit | 2134d9a32b89b5b30121956bbfb070b8c9ee2bd5 (patch) | |
tree | 02644ac9a217b472420d119ab9f937ed845417c1 /test/passes | |
parent | 68ff52b278acb95201967709640733a05d6a683a (diff) | |
download | binaryen-2134d9a32b89b5b30121956bbfb070b8c9ee2bd5.tar.gz binaryen-2134d9a32b89b5b30121956bbfb070b8c9ee2bd5.tar.bz2 binaryen-2134d9a32b89b5b30121956bbfb070b8c9ee2bd5.zip |
Partially revert #6026 (#6043)
That optimization uncovered some LLVM and Binaryen bugs.
Diffstat (limited to 'test/passes')
-rw-r--r-- | test/passes/remove-unused-nonfunction-module-elements_all-features.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/passes/remove-unused-nonfunction-module-elements_all-features.txt b/test/passes/remove-unused-nonfunction-module-elements_all-features.txt index 186bdd69b..d19fcc514 100644 --- a/test/passes/remove-unused-nonfunction-module-elements_all-features.txt +++ b/test/passes/remove-unused-nonfunction-module-elements_all-features.txt @@ -6,7 +6,7 @@ (table $0 1 1 funcref) (elem $0 (i32.const 0) $called_indirect) (export "memory" (memory $0)) - (export "exported" (func $called2)) + (export "exported" (func $exported)) (export "other1" (func $other1)) (export "other2" (func $other2)) (start $start) @@ -240,8 +240,8 @@ (global $int (mut i32) (global.get $imported)) (global $set (mut i32) (i32.const 100)) (global $exp_glob i32 (i32.const 600)) - (export "one" (func $two)) - (export "three" (func $four)) + (export "one" (func $one)) + (export "three" (func $three)) (export "exp_glob" (global $exp_glob)) (func $one (type $1) (result i32) (call $two) |