summaryrefslogtreecommitdiff
path: root/test/passes/code-folding.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/code-folding.wast')
-rw-r--r--test/passes/code-folding.wast16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/passes/code-folding.wast b/test/passes/code-folding.wast
index 2034f1452..a813f44a6 100644
--- a/test/passes/code-folding.wast
+++ b/test/passes/code-folding.wast
@@ -158,9 +158,9 @@
(br_if $label$1
(i32.const 1)
)
- (set_global $global$0
+ (global.set $global$0
(i32.sub
- (get_global $global$0)
+ (global.get $global$0)
(i32.const 1)
)
)
@@ -171,11 +171,11 @@
(i32.const 0)
)
(if
- (get_global $global$0)
+ (global.get $global$0)
(block
- (set_global $global$0
+ (global.set $global$0
(i32.sub
- (get_global $global$0)
+ (global.get $global$0)
(i32.const 1)
)
)
@@ -185,11 +185,11 @@
(unreachable)
)
(if
- (get_global $global$0)
+ (global.get $global$0)
(block
- (set_global $global$0
+ (global.set $global$0
(i32.sub
- (get_global $global$0)
+ (global.get $global$0)
(i32.const 1)
)
)