summaryrefslogtreecommitdiff
path: root/test/exception-handling.wast.fromBinary.noDebugInfo
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2023-12-13 10:53:50 -0800
committerGitHub <noreply@github.com>2023-12-13 10:53:50 -0800
commit0024c8bdd28f701d57e49e65d38b28aad0594299 (patch)
tree19b9eb323836843d147dedf40495042edcf9404f /test/exception-handling.wast.fromBinary.noDebugInfo
parent9e636855b582d1499a87fb73f55d85102ce95a58 (diff)
downloadbinaryen-0024c8bdd28f701d57e49e65d38b28aad0594299.tar.gz
binaryen-0024c8bdd28f701d57e49e65d38b28aad0594299.tar.bz2
binaryen-0024c8bdd28f701d57e49e65d38b28aad0594299.zip
[test] Port tests in test/ to test/lit/basic/ (#6160)
This ports all tests from `test/` to `test/lit/basic/`. The set of commands and `CHECK` lines used are the same as the ones in #6159. Now we use `lit` to test these, this also deletes all `.wast`, `.wast.from-wast`, `.wast.fromBinary`, and `.wast.fromBinary.noDebugInfo` files from `test/` and all related test routines from the python scripts. All `CHECK` lines are generated by `update_lit_checks.py --all-items`. This also deletes these three multi-memory tests in `test/lit/`, because they seem to contain the same code with the ones in `test/`, which have been ported to `test/lit/basic/` along with other tests. - `test/lit/multi-memories-atomics64.wast` - `test/lit/multi-memories-basics.wast` - `test/lit/multi-memories-simd.wast` This also adds newlines between `(func`s in case there are none to make `CHECK` lines easy to view, and removes some extra existing newlines here and there.
Diffstat (limited to 'test/exception-handling.wast.fromBinary.noDebugInfo')
-rw-r--r--test/exception-handling.wast.fromBinary.noDebugInfo446
1 files changed, 0 insertions, 446 deletions
diff --git a/test/exception-handling.wast.fromBinary.noDebugInfo b/test/exception-handling.wast.fromBinary.noDebugInfo
deleted file mode 100644
index b0da0391b..000000000
--- a/test/exception-handling.wast.fromBinary.noDebugInfo
+++ /dev/null
@@ -1,446 +0,0 @@
-(module
- (type $0 (func))
- (type $1 (func (param i32)))
- (type $2 (func (param i64)))
- (type $3 (func (param i32 i64)))
- (type $4 (func (param eqref)))
- (type $5 (func (result exnref)))
- (tag $tag$0 (param i32))
- (tag $tag$1 (param i64))
- (tag $tag$2 (param i32 i64))
- (tag $tag$3 (param eqref))
- (tag $tag$4)
- (func $0 (type $0)
- (nop)
- )
- (func $1 (type $0)
- (nop)
- )
- (func $2 (type $0)
- (local $0 i32)
- (local $1 i64)
- (local $2 (i32 i64))
- (local $3 i32)
- (try $label$3
- (do
- (throw $tag$0
- (i32.const 0)
- )
- )
- (catch $tag$0
- (drop
- (pop i32)
- )
- )
- )
- (try $label$6
- (do
- (throw $tag$2
- (i32.const 0)
- (i64.const 0)
- )
- )
- (catch $tag$2
- (local.set $2
- (pop i32 i64)
- )
- (local.set $0
- (block (result i32)
- (local.set $3
- (tuple.extract 2 0
- (local.get $2)
- )
- )
- (local.set $1
- (tuple.extract 2 1
- (local.get $2)
- )
- )
- (local.get $3)
- )
- )
- (drop
- (local.get $0)
- )
- )
- )
- (block $label$7
- (try $label$10
- (do
- (br $label$7)
- )
- (catch $tag$0
- (drop
- (pop i32)
- )
- (br $label$7)
- )
- )
- )
- (try $label$13
- (do
- (nop)
- )
- (catch $tag$0
- (drop
- (pop i32)
- )
- )
- )
- (try $label$16
- (do
- (call $0)
- (call $1)
- )
- (catch $tag$0
- (drop
- (pop i32)
- )
- (call $0)
- (call $1)
- )
- )
- (try $label$19
- (do
- (throw $tag$0
- (i32.const 0)
- )
- )
- (catch $tag$0
- (drop
- (pop i32)
- )
- )
- (catch $tag$1
- (drop
- (pop i64)
- )
- )
- )
- (try $label$22
- (do
- (throw $tag$0
- (i32.const 0)
- )
- )
- (catch_all
- (nop)
- )
- )
- (try $label$25
- (do
- (throw $tag$0
- (i32.const 0)
- )
- )
- (catch $tag$0
- (drop
- (pop i32)
- )
- )
- (catch $tag$1
- (drop
- (pop i64)
- )
- )
- (catch_all
- (call $0)
- (call $1)
- )
- )
- (try $label$34
- (do
- (try $label$29
- (do
- (throw $tag$0
- (i32.const 0)
- )
- )
- (catch $tag$0
- (drop
- (pop i32)
- )
- )
- (catch_all
- (nop)
- )
- )
- )
- (catch $tag$0
- (drop
- (pop i32)
- )
- )
- (catch_all
- (try $label$33
- (do
- (throw $tag$0
- (i32.const 0)
- )
- )
- (catch $tag$0
- (drop
- (pop i32)
- )
- )
- (catch_all
- (nop)
- )
- )
- )
- )
- (try $label$37
- (do
- (throw $tag$0
- (i32.const 0)
- )
- )
- )
- )
- (func $3 (type $0)
- (try $label$9
- (do
- (block $label$1
- (try $label$4
- (do
- (call $0)
- )
- (delegate $label$9)
- )
- (try $label$7
- (do
- (call $0)
- )
- (delegate $label$9)
- )
- )
- )
- (catch_all
- (nop)
- )
- )
- (block $label$10
- (try $label$19
- (do
- (block $label$11
- (try $label$14
- (do
- (br_if $label$10
- (i32.const 1)
- )
- )
- (delegate $label$19)
- )
- (try $label$17
- (do
- (br_if $label$10
- (i32.const 1)
- )
- )
- (delegate $label$19)
- )
- )
- )
- (catch_all
- (nop)
- )
- )
- )
- (try $label$25
- (do
- (block $label$20
- (try $label$23
- (do
- (call $0)
- )
- (delegate $label$25)
- )
- )
- )
- (delegate 0)
- )
- (try $label$28
- (do
- (nop)
- )
- (catch $tag$4
- (nop)
- )
- )
- )
- (func $4 (type $0)
- (try $label$3
- (do
- (call $0)
- )
- (catch $tag$0
- (drop
- (pop i32)
- )
- (rethrow $label$3)
- )
- (catch_all
- (rethrow $label$3)
- )
- )
- (block $label$4
- (try $label$7
- (do
- (call $0)
- )
- (catch $tag$0
- (drop
- (pop i32)
- )
- (rethrow $label$7)
- )
- (catch_all
- (br $label$4)
- )
- )
- )
- (try $label$13
- (do
- (call $0)
- )
- (catch_all
- (try $label$12
- (do
- (call $0)
- )
- (catch $tag$0
- (drop
- (pop i32)
- )
- (rethrow $label$13)
- )
- (catch_all
- (rethrow $label$13)
- )
- )
- )
- )
- (try $label$20
- (do
- (call $0)
- )
- (catch_all
- (try $label$19
- (do
- (call $0)
- )
- (catch $tag$0
- (drop
- (pop i32)
- )
- (block $label$18
- (rethrow $label$20)
- )
- )
- (catch_all
- (rethrow $label$20)
- )
- )
- )
- )
- (try $label$26
- (do
- (call $0)
- )
- (catch_all
- (try $label$25
- (do
- (rethrow $label$26)
- )
- (catch_all
- (nop)
- )
- )
- )
- )
- (try $label$32
- (do
- (call $0)
- )
- (catch_all
- (try $label$31
- (do
- (rethrow $label$32)
- )
- (catch_all
- (nop)
- )
- )
- )
- )
- )
- (func $5 (type $0)
- (try $label$5
- (do
- (nop)
- )
- (catch $tag$0
- (throw $tag$0
- (if (result i32)
- (pop i32)
- (i32.const 0)
- (i32.const 3)
- )
- )
- )
- )
- (try $label$8
- (do
- (nop)
- )
- (catch $tag$3
- (drop
- (pop eqref)
- )
- )
- )
- )
- (func $6 (type $0)
- (try $label$6
- (do
- (block $label$1
- (try $label$4
- (do
- (throw $tag$0
- (i32.const 0)
- )
- )
- (delegate $label$6)
- )
- )
- )
- )
- )
- (func $7 (type $0)
- (block $label$1
- (block $label$2
- )
- (try $label$5
- (do
- (nop)
- )
- (delegate 1)
- )
- )
- (nop)
- )
- (func $8 (type $5) (result exnref)
- (local $0 exnref)
- (local $1 nullexnref)
- (if (result exnref)
- (i32.const 1)
- (if (result nullexnref)
- (i32.const 1)
- (local.get $1)
- (ref.null noexn)
- )
- (local.get $0)
- )
- )
-)
-