From 2134d9a32b89b5b30121956bbfb070b8c9ee2bd5 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 23 Oct 2023 12:31:10 -0700 Subject: Partially revert #6026 (#6043) That optimization uncovered some LLVM and Binaryen bugs. --- test/wasm2js/func_ptrs.2asm.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test/wasm2js/func_ptrs.2asm.js') diff --git a/test/wasm2js/func_ptrs.2asm.js b/test/wasm2js/func_ptrs.2asm.js index ccd220152..4b7c4fd44 100644 --- a/test/wasm2js/func_ptrs.2asm.js +++ b/test/wasm2js/func_ptrs.2asm.js @@ -27,11 +27,16 @@ function asmFunc(imports) { return a - 2 | 0 | 0; } + function $6($0) { + $0 = $0 | 0; + print($0 | 0); + } + return { "one": $3, "two": $4, "three": $5, - "four": print + "four": $6 }; } -- cgit v1.2.3