summaryrefslogtreecommitdiff
path: root/src/wasm2asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm2asm.h')
-rw-r--r--src/wasm2asm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm2asm.h b/src/wasm2asm.h
index 357896654..9e3abaa25 100644
--- a/src/wasm2asm.h
+++ b/src/wasm2asm.h
@@ -384,6 +384,7 @@ Ref Wasm2AsmBuilder::processWasm(Module* wasm) {
addWasmCompatibilityFuncs(wasm);
PassRunner runner(wasm);
runner.add<AutoDrop>();
+ runner.add("remove-copysign"); // must be before i64-to-i32
runner.add("i64-to-i32-lowering");
runner.add("flatten");
runner.add("simplify-locals-notee-nostructure");