summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/passes/simplify-globals_enable-mutable-globals.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/passes/simplify-globals_enable-mutable-globals.txt b/test/passes/simplify-globals_enable-mutable-globals.txt
index 010259d07..346161f14 100644
--- a/test/passes/simplify-globals_enable-mutable-globals.txt
+++ b/test/passes/simplify-globals_enable-mutable-globals.txt
@@ -54,17 +54,17 @@
(module
(type $FUNCSIG$v (func))
(global $g1 i32 (i32.const 1))
- (global $g2 i32 (global.get $g1))
+ (global $g2 i32 (i32.const 1))
(global $g3 f64 (f64.const -3.4))
(global $g4 f64 (f64.const -2.8))
(global $g5 i32 (i32.const 2))
- (global $g6 i32 (global.get $g5))
+ (global $g6 i32 (i32.const 2))
(global $g7 i32 (i32.const 3))
- (global $g8 i32 (global.get $g7))
+ (global $g8 i32 (i32.const 3))
(global $g9 i32 (i32.const 4))
- (global $ga (mut i32) (global.get $g9))
+ (global $ga (mut i32) (i32.const 4))
(global $gb (mut i32) (i32.const 5))
- (global $gc i32 (global.get $gb))
+ (global $gc i32 (i32.const 5))
(func $foo (; 0 ;) (type $FUNCSIG$v)
(drop
(i32.const 1)
@@ -100,7 +100,7 @@
(global.get $gb)
)
(drop
- (global.get $gc)
+ (i32.const 5)
)
(global.set $ga
(i32.const 6)