summaryrefslogtreecommitdiff
path: root/test/passes/remove-unused-nonfunction-module-elements_enable-threads.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/remove-unused-nonfunction-module-elements_enable-threads.txt')
-rw-r--r--test/passes/remove-unused-nonfunction-module-elements_enable-threads.txt64
1 files changed, 32 insertions, 32 deletions
diff --git a/test/passes/remove-unused-nonfunction-module-elements_enable-threads.txt b/test/passes/remove-unused-nonfunction-module-elements_enable-threads.txt
index 1ac7e5228..140cf61e6 100644
--- a/test/passes/remove-unused-nonfunction-module-elements_enable-threads.txt
+++ b/test/passes/remove-unused-nonfunction-module-elements_enable-threads.txt
@@ -105,12 +105,12 @@
(export "tab" (table $0))
)
(module
- (type $0 (func))
+ (type $FUNCSIG$v (func))
(import "env" "memory" (memory $0 256))
(data (i32.const 1) "hello, world!")
(import "env" "table" (table $0 1 funcref))
(elem (i32.const 0) $waka)
- (func $waka (; 0 ;) (type $0)
+ (func $waka (; 0 ;) (type $FUNCSIG$v)
(nop)
)
)
@@ -131,10 +131,10 @@
)
)
(module
- (type $0 (func))
+ (type $FUNCSIG$v (func))
(memory $0 (shared 23 256))
(export "user" (func $user))
- (func $user (; 0 ;) (type $0)
+ (func $user (; 0 ;) (type $FUNCSIG$v)
(i32.store
(i32.const 0)
(i32.const 0)
@@ -142,10 +142,10 @@
)
)
(module
- (type $0 (func (result i32)))
+ (type $FUNCSIG$i (func (result i32)))
(memory $0 (shared 23 256))
(export "user" (func $user))
- (func $user (; 0 ;) (type $0) (result i32)
+ (func $user (; 0 ;) (type $FUNCSIG$i) (result i32)
(i32.atomic.rmw.add
(i32.const 0)
(i32.const 0)
@@ -153,10 +153,10 @@
)
)
(module
- (type $0 (func (result i32)))
+ (type $FUNCSIG$i (func (result i32)))
(memory $0 (shared 23 256))
(export "user" (func $user))
- (func $user (; 0 ;) (type $0) (result i32)
+ (func $user (; 0 ;) (type $FUNCSIG$i) (result i32)
(i32.atomic.rmw8.cmpxchg_u
(i32.const 0)
(i32.const 0)
@@ -165,10 +165,10 @@
)
)
(module
- (type $0 (func))
+ (type $FUNCSIG$v (func))
(memory $0 (shared 23 256))
(export "user" (func $user))
- (func $user (; 0 ;) (type $0)
+ (func $user (; 0 ;) (type $FUNCSIG$v)
(local $0 i32)
(local $1 i64)
(drop
@@ -181,10 +181,10 @@
)
)
(module
- (type $0 (func (result i32)))
+ (type $FUNCSIG$i (func (result i32)))
(memory $0 (shared 23 256))
(export "user" (func $user))
- (func $user (; 0 ;) (type $0) (result i32)
+ (func $user (; 0 ;) (type $FUNCSIG$i) (result i32)
(atomic.notify
(i32.const 0)
(i32.const 0)
@@ -192,49 +192,49 @@
)
)
(module
- (type $0 (func (result i32)))
+ (type $FUNCSIG$i (func (result i32)))
(memory $0 23 256)
(export "user" (func $user))
- (func $user (; 0 ;) (type $0) (result i32)
+ (func $user (; 0 ;) (type $FUNCSIG$i) (result i32)
(memory.grow
(i32.const 0)
)
)
)
(module
- (type $0 (func (result i32)))
+ (type $FUNCSIG$i (func (result i32)))
(import "env" "memory" (memory $0 256))
(export "user" (func $user))
- (func $user (; 0 ;) (type $0) (result i32)
+ (func $user (; 0 ;) (type $FUNCSIG$i) (result i32)
(memory.grow
(i32.const 0)
)
)
)
(module
- (type $0 (func (result i32)))
+ (type $FUNCSIG$i (func (result i32)))
(memory $0 23 256)
(export "user" (func $user))
- (func $user (; 0 ;) (type $0) (result i32)
+ (func $user (; 0 ;) (type $FUNCSIG$i) (result i32)
(memory.size)
)
)
(module
- (type $0 (func))
+ (type $FUNCSIG$v (func))
(import "env" "memory" (memory $0 256))
(data (global.get $memoryBase) "hello, world!")
(import "env" "table" (table $0 0 funcref))
(elem (global.get $tableBase) $waka)
(import "env" "memoryBase" (global $memoryBase i32))
(import "env" "tableBase" (global $tableBase i32))
- (func $waka (; 0 ;) (type $0)
+ (func $waka (; 0 ;) (type $FUNCSIG$v)
(nop)
)
)
(module
(type $FUNCSIG$ii (func (param i32) (result i32)))
- (type $1 (func (result i32)))
- (type $2 (func))
+ (type $FUNCSIG$i (func (result i32)))
+ (type $FUNCSIG$v (func))
(import "env" "imported" (global $imported i32))
(import "env" "_puts" (func $_puts (param i32) (result i32)))
(global $int (mut i32) (global.get $imported))
@@ -243,16 +243,16 @@
(export "one" (func $one))
(export "three" (func $three))
(export "exp_glob" (global $exp_glob))
- (func $one (; 1 ;) (type $1) (result i32)
+ (func $one (; 1 ;) (type $FUNCSIG$i) (result i32)
(call $two)
)
- (func $two (; 2 ;) (type $1) (result i32)
+ (func $two (; 2 ;) (type $FUNCSIG$i) (result i32)
(global.get $int)
)
- (func $three (; 3 ;) (type $2)
+ (func $three (; 3 ;) (type $FUNCSIG$v)
(call $four)
)
- (func $four (; 4 ;) (type $2)
+ (func $four (; 4 ;) (type $FUNCSIG$v)
(global.set $set
(i32.const 200)
)
@@ -262,23 +262,23 @@
)
)
)
- (func $forget_implemented (; 5 ;) (type $2)
+ (func $forget_implemented (; 5 ;) (type $FUNCSIG$v)
(nop)
)
- (func $starter (; 6 ;) (type $2)
+ (func $starter (; 6 ;) (type $FUNCSIG$v)
(nop)
)
)
(module
- (type $0 (func))
- (func $starter (; 0 ;) (type $0)
+ (type $FUNCSIG$v (func))
+ (func $starter (; 0 ;) (type $FUNCSIG$v)
(nop)
)
)
(module
- (type $0 (func))
+ (type $FUNCSIG$v (func))
(start $starter)
- (func $starter (; 0 ;) (type $0)
+ (func $starter (; 0 ;) (type $FUNCSIG$v)
(drop
(i32.const 0)
)