summaryrefslogtreecommitdiff
path: root/test/example/module-splitting.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/example/module-splitting.txt')
-rw-r--r--test/example/module-splitting.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/example/module-splitting.txt b/test/example/module-splitting.txt
index 69fabc816..b72867dda 100644
--- a/test/example/module-splitting.txt
+++ b/test/example/module-splitting.txt
@@ -629,10 +629,10 @@ Before:
Keeping: null
After:
(module
- (type $0 (func (param i32) (result i32)))
- (type $1 (func))
+ (type $0 (func))
+ (type $1 (func (param i32) (result i32)))
(import "env" "base" (global $base i32))
- (import "placeholder" "0" (func $placeholder_0 (type $0) (param i32) (result i32)))
+ (import "placeholder" "0" (func $placeholder_0 (type $1) (param i32) (result i32)))
(table $table 1000 funcref)
(table $0 1 funcref)
(elem $0 (table $table) (global.get $base) func $null $trampoline_foo)
@@ -641,17 +641,17 @@ After:
(export "%table" (table $table))
(export "%table_2" (table $0))
(export "%global" (global $base))
- (func $null (type $1)
+ (func $null (type $0)
(nop)
)
- (func $foo (type $0) (param $0 i32) (result i32)
- (call_indirect $0 (type $0)
+ (func $foo (type $1) (param $0 i32) (result i32)
+ (call_indirect $0 (type $1)
(local.get $0)
(i32.const 0)
)
)
- (func $trampoline_foo (type $0) (param $0 i32) (result i32)
- (call_indirect $0 (type $0)
+ (func $trampoline_foo (type $1) (param $0 i32) (result i32)
+ (call_indirect $0 (type $1)
(local.get $0)
(i32.const 0)
)