summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/reduce/memory_table.wast.txt25
1 files changed, 8 insertions, 17 deletions
diff --git a/test/reduce/memory_table.wast.txt b/test/reduce/memory_table.wast.txt
index 3c3b80ca8..1665c7a4e 100644
--- a/test/reduce/memory_table.wast.txt
+++ b/test/reduce/memory_table.wast.txt
@@ -2,18 +2,13 @@
(type $0 (func (result i32)))
(type $1 (func))
(memory $0 256 256)
- (table $0 481 481 funcref)
- (elem (i32.const 0) $0 $0 $0 $2)
- (export "f1" (func $1))
- (export "f2" (func $2))
- (export "f4" (func $3))
- (func $0 (; 0 ;) (type $0) (result i32)
- (i32.const 1234)
- )
- (func $1 (; 1 ;) (type $1)
+ (export "f1" (func $0))
+ (export "f2" (func $1))
+ (export "f4" (func $2))
+ (func $0 (; 0 ;) (type $1)
(nop)
)
- (func $2 (; 2 ;) (type $0) (result i32)
+ (func $1 (; 1 ;) (type $0) (result i32)
(i32.store
(i32.const 0)
(i32.const 65530)
@@ -22,14 +17,10 @@
(i32.const 0)
)
)
- (func $3 (; 3 ;) (type $0) (result i32)
+ (func $2 (; 2 ;) (type $0) (result i32)
(i32.add
- (call_indirect (type $0)
- (i32.const 3)
- )
- (call_indirect (type $0)
- (i32.const 0)
- )
+ (call $1)
+ (i32.const 1234)
)
)
)