summaryrefslogtreecommitdiff
path: root/test/passes/duplicate-function-elimination_optimize-level=1.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/duplicate-function-elimination_optimize-level=1.txt')
-rw-r--r--test/passes/duplicate-function-elimination_optimize-level=1.txt24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/passes/duplicate-function-elimination_optimize-level=1.txt b/test/passes/duplicate-function-elimination_optimize-level=1.txt
index 97e782ce6..4ed278af8 100644
--- a/test/passes/duplicate-function-elimination_optimize-level=1.txt
+++ b/test/passes/duplicate-function-elimination_optimize-level=1.txt
@@ -43,7 +43,7 @@
(module
(type $0 (func))
(memory $0 0)
- (table $0 3 3 anyfunc)
+ (table $0 3 3 funcref)
(elem (i32.const 0) $keep2 $keep2 $caller)
(export "keep2" (func $keep2))
(export "other" (func $keep2))
@@ -391,7 +391,7 @@
(module
(type $T (func))
(memory $0 0)
- (table $0 2 2 anyfunc)
+ (table $0 2 2 funcref)
(elem (i32.const 0) $erase $erase)
(func $erase (; 0 ;) (type $T)
(call_indirect (type $T)
@@ -402,7 +402,7 @@
(module
(type $T (func))
(memory $0 0)
- (table $0 2 2 anyfunc)
+ (table $0 2 2 funcref)
(elem (i32.const 0) $keep2 $other)
(func $keep2 (; 0 ;) (type $T)
(call_indirect (type $T)
@@ -419,7 +419,7 @@
(type $T (func))
(type $S (func))
(memory $0 0)
- (table $0 2 2 anyfunc)
+ (table $0 2 2 funcref)
(elem (i32.const 0) $keep2 $other)
(func $keep2 (; 0 ;) (type $T)
(call_indirect (type $T)
@@ -438,7 +438,7 @@
(func $erase-even-locals-with-different-names (; 0 ;) (type $0)
(local $i i32)
(drop
- (get_local $i)
+ (local.get $i)
)
)
)
@@ -448,13 +448,13 @@
(func $keep2 (; 0 ;) (type $0)
(local $i i32)
(drop
- (get_local $i)
+ (local.get $i)
)
)
(func $other (; 1 ;) (type $0)
(local $j i64)
(drop
- (get_local $j)
+ (local.get $j)
)
)
)
@@ -463,7 +463,7 @@
(memory $0 0)
(func $erase-even-locals-with-different-names (; 0 ;) (type $0)
(local $i i32)
- (set_local $i
+ (local.set $i
(i32.const 0)
)
)
@@ -473,13 +473,13 @@
(memory $0 0)
(func $keep2 (; 0 ;) (type $0)
(local $i i32)
- (set_local $i
+ (local.set $i
(i32.const 0)
)
)
(func $other (; 1 ;) (type $0)
(local $j i64)
- (set_local $j
+ (local.set $j
(i64.const 0)
)
)
@@ -489,13 +489,13 @@
(memory $0 0)
(func $keep2 (; 0 ;) (type $0)
(local $i i32)
- (set_local $i
+ (local.set $i
(i32.const 0)
)
)
(func $other (; 1 ;) (type $0)
(local $j i32)
- (set_local $j
+ (local.set $j
(i32.const 1)
)
)