diff options
author | Alon Zakai (kripken) <alonzakai@gmail.com> | 2019-03-31 11:29:01 -0700 |
---|---|---|
committer | Alon Zakai (kripken) <alonzakai@gmail.com> | 2019-03-31 11:29:01 -0700 |
commit | 040ccad52a1123be2fca36d7adcd9589ec1981ff (patch) | |
tree | ccf19e41a0fee78b30a44e2db154406e0a4bc22c | |
parent | 5e2e0024be006d6f523d0828881b4b7b8ba28dd5 (diff) | |
download | binaryen-040ccad52a1123be2fca36d7adcd9589ec1981ff.tar.gz binaryen-040ccad52a1123be2fca36d7adcd9589ec1981ff.tar.bz2 binaryen-040ccad52a1123be2fca36d7adcd9589ec1981ff.zip |
test update
-rw-r--r-- | test/reduce/memory_table.wast.txt | 25 |
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) ) ) ) |