summaryrefslogtreecommitdiff
path: root/test/passes/flatten_local-cse.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/flatten_local-cse.txt')
-rw-r--r--test/passes/flatten_local-cse.txt38
1 files changed, 19 insertions, 19 deletions
diff --git a/test/passes/flatten_local-cse.txt b/test/passes/flatten_local-cse.txt
index dde07a89f..aae715bb0 100644
--- a/test/passes/flatten_local-cse.txt
+++ b/test/passes/flatten_local-cse.txt
@@ -1,11 +1,11 @@
(module
- (type $0 (func))
- (type $1 (func (param i32) (result i32)))
- (type $2 (func (param i32 i32) (result i32)))
- (type $3 (func (param i32 i32 i32) (result i32)))
- (type $4 (func (param f64 f64 i32) (result f32)))
+ (type $FUNCSIG$v (func))
+ (type $FUNCSIG$ii (func (param i32) (result i32)))
+ (type $FUNCSIG$iii (func (param i32 i32) (result i32)))
+ (type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32)))
+ (type $FUNCSIG$fddi (func (param f64 f64 i32) (result f32)))
(memory $0 100 100)
- (func $basics (; 0 ;) (type $0)
+ (func $basics (; 0 ;) (type $FUNCSIG$v)
(local $x i32)
(local $y i32)
(local $2 i32)
@@ -139,7 +139,7 @@
)
(nop)
)
- (func $recursive1 (; 1 ;) (type $0)
+ (func $recursive1 (; 1 ;) (type $FUNCSIG$v)
(local $x i32)
(local $y i32)
(local $2 i32)
@@ -184,7 +184,7 @@
)
(nop)
)
- (func $recursive2 (; 2 ;) (type $0)
+ (func $recursive2 (; 2 ;) (type $FUNCSIG$v)
(local $x i32)
(local $y i32)
(local $2 i32)
@@ -229,7 +229,7 @@
)
(nop)
)
- (func $self (; 3 ;) (type $0)
+ (func $self (; 3 ;) (type $FUNCSIG$v)
(local $x i32)
(local $y i32)
(local $2 i32)
@@ -266,7 +266,7 @@
)
(nop)
)
- (func $loads (; 4 ;) (type $0)
+ (func $loads (; 4 ;) (type $FUNCSIG$v)
(local $0 i32)
(local $1 i32)
(block
@@ -291,7 +291,7 @@
)
(nop)
)
- (func $8 (; 5 ;) (type $1) (param $var$0 i32) (result i32)
+ (func $8 (; 5 ;) (type $FUNCSIG$ii) (param $var$0 i32) (result i32)
(local $var$1 i32)
(local $var$2 i32)
(local $var$3 i32)
@@ -411,7 +411,7 @@
(local.get $20)
)
)
- (func $loop1 (; 6 ;) (type $2) (param $x i32) (param $y i32) (result i32)
+ (func $loop1 (; 6 ;) (type $FUNCSIG$iii) (param $x i32) (param $y i32) (result i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
@@ -463,7 +463,7 @@
(local.get $7)
)
)
- (func $loop2 (; 7 ;) (type $3) (param $x i32) (param $y i32) (param $z i32) (result i32)
+ (func $loop2 (; 7 ;) (type $FUNCSIG$iiii) (param $x i32) (param $y i32) (param $z i32) (result i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
@@ -531,7 +531,7 @@
(local.get $10)
)
)
- (func $loop3 (; 8 ;) (type $3) (param $x i32) (param $y i32) (param $z i32) (result i32)
+ (func $loop3 (; 8 ;) (type $FUNCSIG$iiii) (param $x i32) (param $y i32) (param $z i32) (result i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
@@ -591,7 +591,7 @@
(local.get $9)
)
)
- (func $handle-removing (; 9 ;) (type $4) (param $var$0 f64) (param $var$1 f64) (param $var$2 i32) (result f32)
+ (func $handle-removing (; 9 ;) (type $FUNCSIG$fddi) (param $var$0 f64) (param $var$1 f64) (param $var$2 i32) (result f32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
@@ -763,10 +763,10 @@
)
)
(module
- (type $0 (func (result i64)))
- (type $1 (func))
+ (type $FUNCSIG$j (func (result i64)))
+ (type $FUNCSIG$v (func))
(global $glob (mut i32) (i32.const 1))
- (func $i64-shifts (; 0 ;) (type $0) (result i64)
+ (func $i64-shifts (; 0 ;) (type $FUNCSIG$j) (result i64)
(local $temp i64)
(local $1 i64)
(local $2 i64)
@@ -809,7 +809,7 @@
(local.get $temp)
)
)
- (func $global (; 1 ;) (type $1)
+ (func $global (; 1 ;) (type $FUNCSIG$v)
(local $x i32)
(local $y i32)
(local $2 i32)