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 32d579c2c..93a766652 100644
--- a/test/example/module-splitting.txt
+++ b/test/example/module-splitting.txt
@@ -311,7 +311,7 @@ After:
(export "foo" (func $foo))
(export "%table" (table $0))
(func $foo (param $0 i32) (result i32)
- (call_indirect (type $i32_=>_i32)
+ (call_indirect $0 (type $i32_=>_i32)
(local.get $0)
(i32.const 0)
)
@@ -377,7 +377,7 @@ After:
(export "foo" (func $foo))
(export "%table" (table $table))
(func $foo (param $0 i32) (result i32)
- (call_indirect (type $i32_=>_i32)
+ (call_indirect $table (type $i32_=>_i32)
(local.get $0)
(i32.const 42)
)
@@ -417,7 +417,7 @@ After:
(export "%table" (table $table))
(export "%global" (global $base))
(func $foo (param $0 i32) (result i32)
- (call_indirect (type $i32_=>_i32)
+ (call_indirect $table (type $i32_=>_i32)
(local.get $0)
(global.get $base)
)
@@ -467,7 +467,7 @@ After:
(nop)
)
(func $foo (param $0 i32) (result i32)
- (call_indirect (type $i32_=>_i32)
+ (call_indirect $table (type $i32_=>_i32)
(local.get $0)
(i32.add
(global.get $base)
@@ -564,7 +564,7 @@ After:
(elem (i32.const 0) $placeholder_0)
(export "%table" (table $0))
(func $foo
- (call_indirect (type $none_=>_none)
+ (call_indirect $0 (type $none_=>_none)
(i32.const 0)
)
)
@@ -631,7 +631,7 @@ After:
(nop)
)
(func $bar
- (call_indirect (type $none_=>_none)
+ (call_indirect $0 (type $none_=>_none)
(i32.const 0)
)
)
@@ -923,7 +923,7 @@ After:
(export "%foo" (func $foo))
(export "%table" (table $table))
(func $foo (param $0 i32) (result i32)
- (call_indirect (type $i32_=>_i32)
+ (call_indirect $table (type $i32_=>_i32)
(i32.const 0)
(i32.const 1)
)
@@ -963,7 +963,7 @@ After:
(export "foo2" (func $foo))
(export "%table" (table $0))
(func $foo
- (call_indirect (type $none_=>_none)
+ (call_indirect $0 (type $none_=>_none)
(i32.const 0)
)
)