summaryrefslogtreecommitdiff
path: root/test/merge/basics.wast.combined.opt
diff options
context:
space:
mode:
Diffstat (limited to 'test/merge/basics.wast.combined.opt')
-rw-r--r--test/merge/basics.wast.combined.opt20
1 files changed, 8 insertions, 12 deletions
diff --git a/test/merge/basics.wast.combined.opt b/test/merge/basics.wast.combined.opt
index beddc7e0b..d940ad38e 100644
--- a/test/merge/basics.wast.combined.opt
+++ b/test/merge/basics.wast.combined.opt
@@ -11,12 +11,10 @@
(import "env" "tableBase" (global $tableBase$0 i32))
(import "env" "some-func-b" (func $some-func-b))
(import "env" "some-collide" (func $some-collide$0))
- (global $global-collide i32 (i32.const 0))
(global $global-collide-mut (mut i32) (i32.const 0))
- (global $global-a i32 (i32.const 1))
- (global $global-collide$0 i32 (i32.const 0))
+ (global $global-a-mut (mut i32) (i32.const 1))
(global $global-collide-mut$0 (mut i32) (i32.const 0))
- (global $global-b i32 (i32.const 1))
+ (global $global-b-mut (mut i32) (i32.const 1))
(elem (get_global $tableBase) $only-a $willCollide $some-func $some-collide $only-a $only-a $only-b $willCollide$0 $some-func-b $some-collide$0)
(data (get_global $memoryBase) "hello, A!\n\00\00\00\00\00\00hello, B!\n")
(export "exp-a" (func $only-a))
@@ -34,11 +32,10 @@
(i32.const 456)
(i32.const 789)
)
+ (nop)
+ (nop)
(drop
- (get_global $global-collide)
- )
- (drop
- (get_global $global-a)
+ (get_global $global-a-mut)
)
(drop
(get_global $memoryBase)
@@ -64,11 +61,10 @@
(i32.const 34)
(i32.const 56)
)
+ (nop)
+ (nop)
(drop
- (get_global $global-collide$0)
- )
- (drop
- (get_global $global-b)
+ (get_global $global-b-mut)
)
(drop
(i32.add