summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/passes/code-folding.txt8
-rw-r--r--test/passes/code-folding.wast16
2 files changed, 12 insertions, 12 deletions
diff --git a/test/passes/code-folding.txt b/test/passes/code-folding.txt
index f879217aa..4b512940c 100644
--- a/test/passes/code-folding.txt
+++ b/test/passes/code-folding.txt
@@ -157,7 +157,7 @@
(i32.const 0)
)
(if
- (get_global $global$0)
+ (global.get $global$0)
(block $block
(br $folding-inner0)
)
@@ -165,7 +165,7 @@
(unreachable)
)
(if
- (get_global $global$0)
+ (global.get $global$0)
(block $block1
(br $folding-inner0)
)
@@ -173,9 +173,9 @@
(unreachable)
)
)
- (set_global $global$0
+ (global.set $global$0
(i32.sub
- (get_global $global$0)
+ (global.get $global$0)
(i32.const 1)
)
)
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)
)
)