summaryrefslogtreecommitdiff
path: root/test/passes/flatten_rereloop.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/flatten_rereloop.txt')
-rw-r--r--test/passes/flatten_rereloop.txt40
1 files changed, 20 insertions, 20 deletions
diff --git a/test/passes/flatten_rereloop.txt b/test/passes/flatten_rereloop.txt
index de2b3bbea..cdf242fd9 100644
--- a/test/passes/flatten_rereloop.txt
+++ b/test/passes/flatten_rereloop.txt
@@ -1,13 +1,13 @@
(module
- (type $0 (func (result f64)))
- (type $1 (func (result i32)))
- (type $2 (func))
- (type $3 (func (param i32)))
- (type $4 (func (param i32) (result f32)))
- (type $5 (func (result f32)))
+ (type $FUNCSIG$d (func (result f64)))
+ (type $FUNCSIG$i (func (result i32)))
+ (type $FUNCSIG$v (func))
+ (type $FUNCSIG$vi (func (param i32)))
+ (type $FUNCSIG$fi (func (param i32) (result f32)))
+ (type $FUNCSIG$f (func (result f32)))
(memory $0 1)
(global $global (mut i32) (i32.const 0))
- (func $0 (; 0 ;) (type $0) (result f64)
+ (func $0 (; 0 ;) (type $FUNCSIG$d) (result f64)
(local $0 f64)
(local $1 f64)
(local $2 i32)
@@ -33,7 +33,7 @@
)
)
)
- (func $1 (; 1 ;) (type $1) (result i32)
+ (func $1 (; 1 ;) (type $FUNCSIG$i) (result i32)
(local $0 i32)
(local $1 i32)
(local $2 i32)
@@ -95,7 +95,7 @@
)
(unreachable)
)
- (func $skip-empty (; 2 ;) (type $2)
+ (func $skip-empty (; 2 ;) (type $FUNCSIG$v)
(local $0 i32)
(block $block$2$break
(block
@@ -108,7 +108,7 @@
(return)
)
)
- (func $skip-empty-2 (; 3 ;) (type $2)
+ (func $skip-empty-2 (; 3 ;) (type $FUNCSIG$v)
(local $0 i32)
(block $block$5$break
(block
@@ -137,7 +137,7 @@
)
)
)
- (func $skip-empty-3 (; 4 ;) (type $2)
+ (func $skip-empty-3 (; 4 ;) (type $FUNCSIG$v)
(local $0 i32)
(block $block$5$break
(block
@@ -166,7 +166,7 @@
)
)
)
- (func $skip-empty-4 (; 5 ;) (type $3) (param $x i32)
+ (func $skip-empty-4 (; 5 ;) (type $FUNCSIG$vi) (param $x i32)
(local $1 i32)
(local $2 i32)
(block $block$2$break
@@ -181,7 +181,7 @@
(return)
)
)
- (func $skipping (; 6 ;) (type $4) (param $0 i32) (result f32)
+ (func $skipping (; 6 ;) (type $FUNCSIG$fi) (param $0 i32) (result f32)
(local $1 f32)
(local $2 f32)
(local $3 f32)
@@ -215,7 +215,7 @@
)
)
)
- (func $merging (; 7 ;) (type $2)
+ (func $merging (; 7 ;) (type $FUNCSIG$v)
(local $0 i32)
(block
(block
@@ -223,7 +223,7 @@
(return)
)
)
- (func $unswitch (; 8 ;) (type $2)
+ (func $unswitch (; 8 ;) (type $FUNCSIG$v)
(local $0 i32)
(block $block$2$break
(block
@@ -236,7 +236,7 @@
(return)
)
)
- (func $skip-only-empty (; 9 ;) (type $2)
+ (func $skip-only-empty (; 9 ;) (type $FUNCSIG$v)
(local $0 i32)
(block $block$3$break
(block
@@ -258,7 +258,7 @@
(return)
)
)
- (func $skip-only-one-branch-out (; 10 ;) (type $1) (result i32)
+ (func $skip-only-one-branch-out (; 10 ;) (type $FUNCSIG$i) (result i32)
(local $0 i32)
(local $1 i32)
(local $2 i32)
@@ -288,7 +288,7 @@
)
)
)
- (func $multipass-for-skips (; 11 ;) (type $5) (result f32)
+ (func $multipass-for-skips (; 11 ;) (type $FUNCSIG$f) (result f32)
(local $0 f32)
(local $1 f32)
(local $2 f32)
@@ -338,7 +338,7 @@
)
)
)
- (func $branch-merge-vs-replace (; 12 ;) (type $2)
+ (func $branch-merge-vs-replace (; 12 ;) (type $FUNCSIG$v)
(local $0 i32)
(block
)
@@ -352,7 +352,7 @@
)
)
)
- (func $unswitch-amount (; 13 ;) (type $2)
+ (func $unswitch-amount (; 13 ;) (type $FUNCSIG$v)
(local $0 i32)
(block $block$2$break
(block