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/wasm2js/dot_import.2asm.js | |
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/wasm2js/dot_import.2asm.js')
-rw-r--r-- | test/wasm2js/dot_import.2asm.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/wasm2js/dot_import.2asm.js b/test/wasm2js/dot_import.2asm.js index 0cd48aaf1..a35eabe95 100644 --- a/test/wasm2js/dot_import.2asm.js +++ b/test/wasm2js/dot_import.2asm.js @@ -13,8 +13,12 @@ function asmFunc(imports) { var Math_sqrt = Math.sqrt; var mod_ule = imports["mod.ule"]; var base = mod_ule["ba.se"]; + function $0() { + base(); + } + return { - "exported": base + "exported": $0 }; } |