summaryrefslogtreecommitdiff
path: root/test/passes/local-cse.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/local-cse.txt')
-rw-r--r--test/passes/local-cse.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/passes/local-cse.txt b/test/passes/local-cse.txt
index 62395f73f..286f29e7c 100644
--- a/test/passes/local-cse.txt
+++ b/test/passes/local-cse.txt
@@ -4,34 +4,34 @@
(global $glob (mut i32) (i32.const 1))
(func $i64-shifts (; 0 ;) (type $0) (result i64)
(local $temp i64)
- (set_local $temp
+ (local.set $temp
(i64.add
(i64.const 1)
(i64.const 2)
)
)
- (set_local $temp
+ (local.set $temp
(i64.const 9999)
)
- (set_local $temp
+ (local.set $temp
(i64.add
(i64.const 1)
(i64.const 2)
)
)
- (get_local $temp)
+ (local.get $temp)
)
(func $global (; 1 ;) (type $1)
(local $x i32)
(local $y i32)
- (set_local $x
- (get_global $glob)
+ (local.set $x
+ (global.get $glob)
)
- (set_local $y
- (get_local $x)
+ (local.set $y
+ (local.get $x)
)
- (set_local $y
- (get_local $x)
+ (local.set $y
+ (local.get $x)
)
)
)