summaryrefslogtreecommitdiff
path: root/test/passes/precompute.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/precompute.txt')
-rw-r--r--test/passes/precompute.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/passes/precompute.txt b/test/passes/precompute.txt
index b199da603..8b2d82f64 100644
--- a/test/passes/precompute.txt
+++ b/test/passes/precompute.txt
@@ -15,7 +15,7 @@
(drop
(i32.add
(i32.const 1)
- (get_local $x)
+ (local.get $x)
)
)
(nop)
@@ -142,7 +142,7 @@
(block $label$2
(drop
(i64.and
- (i64.trunc_u/f32
+ (i64.trunc_f32_u
(f32.const 70847791997969805621592064)
)
(i64.const 729618461987467893)
@@ -167,7 +167,7 @@
(select
(i64.const 1)
(block $block
- (set_global $global-mut
+ (global.set $global-mut
(i32.const 1)
)
(br $label$0
@@ -197,7 +197,7 @@
(func $global-notprecomputable (; 8 ;) (type $1) (result i32)
(i32.add
(i32.const 1)
- (get_global $global-mut)
+ (global.get $global-mut)
)
)
(func $global-precomputable (; 9 ;) (type $1) (result i32)
@@ -207,7 +207,7 @@
(i32.sub
(i32.add
(i32.const 1)
- (get_global $global-mut)
+ (global.get $global-mut)
)
(i32.const 2)
)