diff options
Diffstat (limited to 'test/merge/dylib.wasm.combined.finalized.opt')
-rw-r--r-- | test/merge/dylib.wasm.combined.finalized.opt | 54 |
1 files changed, 31 insertions, 23 deletions
diff --git a/test/merge/dylib.wasm.combined.finalized.opt b/test/merge/dylib.wasm.combined.finalized.opt index 2d40fb83c..eda229e34 100644 --- a/test/merge/dylib.wasm.combined.finalized.opt +++ b/test/merge/dylib.wasm.combined.finalized.opt @@ -23,12 +23,14 @@ (export "_foo" (func $_foo)) (func $_main (type $2) (result i32) (block $label$0 i32 - (drop - (call $import$1 - (i32.const 1024) + (block $label$1 i32 + (drop + (call $import$1 + (i32.const 1024) + ) ) + (i32.const 0) ) - (i32.const 0) ) ) (func $runPostSets (type $3) @@ -38,26 +40,30 @@ (call $__post_instantiate$0) (block (block $label$0 - (set_global $global$0 - (i32.const 1040) - ) - (set_global $global$1 - (i32.add - (get_global $global$0) - (i32.const 32) + (block $label$1 + (set_global $global$0 + (i32.const 1040) ) + (set_global $global$1 + (i32.add + (get_global $global$0) + (i32.const 32) + ) + ) + (call $runPostSets) ) - (call $runPostSets) ) ) ) (func $_foo (type $1$0) (result i32) (local $var$0 i32) (block $label$0 i32 - (set_local $var$0 - (call $_main) + (block $label$1 i32 + (set_local $var$0 + (call $_main) + ) + (get_local $var$0) ) - (get_local $var$0) ) ) (func $runPostSets$0 (type $2$0) @@ -65,16 +71,18 @@ ) (func $__post_instantiate$0 (type $2$0) (block $label$0 - (set_global $global$0$0 - (i32.const 1072) - ) - (set_global $global$1$0 - (i32.add - (get_global $global$0$0) - (i32.const 10) + (block $label$1 + (set_global $global$0$0 + (i32.const 1072) + ) + (set_global $global$1$0 + (i32.add + (get_global $global$0$0) + (i32.const 10) + ) ) + (call $runPostSets$0) ) - (call $runPostSets$0) ) ) ;; custom section "dylink", size 2 |