Skip to content

Commit 7bcd857

Browse files
committed
Make wasm-opt generate the new exception handling instructions
1 parent c1390f7 commit 7bcd857

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/lib/wasm/wa_binaryen.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ let optimize ~profile ~opt_input_sourcemap ~input_file ~opt_output_sourcemap ~ou
123123
in
124124
command
125125
("wasm-opt"
126+
:: "--emit-exnref"
126127
:: (common_options ()
127128
@ optimization_options.(level - 1)
128129
@ [ Filename.quote input_file; "-o"; Filename.quote output_file ])

0 commit comments

Comments
 (0)