summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/passes/coalesce-locals-learning.txt4
-rw-r--r--test/passes/coalesce-locals-learning.wast4
-rw-r--r--test/passes/coalesce-locals.txt4
-rw-r--r--test/passes/coalesce-locals.wast4
-rw-r--r--test/passes/duplicate-function-elimination.txt2
-rw-r--r--test/passes/duplicate-function-elimination.wast2
-rw-r--r--test/passes/remove-unused-brs.txt2
-rw-r--r--test/passes/remove-unused-brs.wast2
8 files changed, 12 insertions, 12 deletions
diff --git a/test/passes/coalesce-locals-learning.txt b/test/passes/coalesce-locals-learning.txt
index f5622d097..06b96b497 100644
--- a/test/passes/coalesce-locals-learning.txt
+++ b/test/passes/coalesce-locals-learning.txt
@@ -281,7 +281,7 @@
(get_local $1)
)
)
- (func $if-through2 (type $2)
+ (func $if-through3 (type $2)
(local $0 i32)
(local $1 i32)
(set_local $0
@@ -440,7 +440,7 @@
(get_local $4)
)
)
- (func $interfere-in-dead (type $2)
+ (func $interfere-in-dead4 (type $2)
(local $0 i32)
(local $1 i32)
(block $block
diff --git a/test/passes/coalesce-locals-learning.wast b/test/passes/coalesce-locals-learning.wast
index 469a034ba..23fc9cba8 100644
--- a/test/passes/coalesce-locals-learning.wast
+++ b/test/passes/coalesce-locals-learning.wast
@@ -289,7 +289,7 @@
(get_local $y)
)
)
- (func $if-through2 (type $2)
+ (func $if-through3 (type $2)
(local $x i32)
(local $y i32)
(set_local $x
@@ -453,7 +453,7 @@
(get_local $w)
)
)
- (func $interfere-in-dead (type $2)
+ (func $interfere-in-dead4 (type $2)
(local $x i32)
(local $y i32)
(block $block
diff --git a/test/passes/coalesce-locals.txt b/test/passes/coalesce-locals.txt
index db7098ab6..a6af3d5d1 100644
--- a/test/passes/coalesce-locals.txt
+++ b/test/passes/coalesce-locals.txt
@@ -281,7 +281,7 @@
(get_local $1)
)
)
- (func $if-through2 (type $2)
+ (func $if-through3 (type $2)
(local $0 i32)
(local $1 i32)
(set_local $0
@@ -438,7 +438,7 @@
(get_local $4)
)
)
- (func $interfere-in-dead (type $2)
+ (func $interfere-in-dead4 (type $2)
(local $0 i32)
(local $1 i32)
(block $block
diff --git a/test/passes/coalesce-locals.wast b/test/passes/coalesce-locals.wast
index cd763af10..da71b7665 100644
--- a/test/passes/coalesce-locals.wast
+++ b/test/passes/coalesce-locals.wast
@@ -289,7 +289,7 @@
(get_local $y)
)
)
- (func $if-through2 (type $2)
+ (func $if-through3 (type $2)
(local $x i32)
(local $y i32)
(set_local $x
@@ -451,7 +451,7 @@
(get_local $w)
)
)
- (func $interfere-in-dead (type $2)
+ (func $interfere-in-dead4 (type $2)
(local $x i32)
(local $y i32)
(block $block
diff --git a/test/passes/duplicate-function-elimination.txt b/test/passes/duplicate-function-elimination.txt
index 333155c80..e9cabe2ad 100644
--- a/test/passes/duplicate-function-elimination.txt
+++ b/test/passes/duplicate-function-elimination.txt
@@ -368,7 +368,7 @@
(memory 0)
(type $FUNCSIG$v (func))
(import "env" "i" (func $i))
- (import "env" "j" (func $i))
+ (import "env" "j" (func $j))
(func $erase (type $FUNCSIG$v)
(call $i)
)
diff --git a/test/passes/duplicate-function-elimination.wast b/test/passes/duplicate-function-elimination.wast
index fcd2378e1..ba429ed30 100644
--- a/test/passes/duplicate-function-elimination.wast
+++ b/test/passes/duplicate-function-elimination.wast
@@ -438,7 +438,7 @@
(memory 0)
(type $FUNCSIG$v (func))
(import $i "env" "i")
- (import $i "env" "j")
+ (import $j "env" "j")
(func $erase (type $FUNCSIG$v)
(call $i)
)
diff --git a/test/passes/remove-unused-brs.txt b/test/passes/remove-unused-brs.txt
index da19d7ac8..7d76db7f0 100644
--- a/test/passes/remove-unused-brs.txt
+++ b/test/passes/remove-unused-brs.txt
@@ -191,7 +191,7 @@
)
)
)
- (func $b15 (type $1)
+ (func $b15b (type $1)
(block $topmost
(if
(i32.const 18)
diff --git a/test/passes/remove-unused-brs.wast b/test/passes/remove-unused-brs.wast
index 50d936dc7..24995b235 100644
--- a/test/passes/remove-unused-brs.wast
+++ b/test/passes/remove-unused-brs.wast
@@ -198,7 +198,7 @@
)
)
)
- (func $b15 (type $1)
+ (func $b15b (type $1)
(block $topmost
(if
(i32.const 18)