diff options
author | Heejin Ahn <aheejin@gmail.com> | 2021-06-08 13:15:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-08 13:15:59 -0700 |
commit | eac90b56d4a749f10d440e4bb7fd744e4bc756e8 (patch) | |
tree | aeb562b523b3a610cb716962c36cc4ee6367c2dc /test/passes/remove-unused-names_optimize-instructions_all-features.txt | |
parent | 28f227fb90d18d8c1fc2c52b592d2934469aef8e (diff) | |
download | binaryen-eac90b56d4a749f10d440e4bb7fd744e4bc756e8.tar.gz binaryen-eac90b56d4a749f10d440e4bb7fd744e4bc756e8.tar.bz2 binaryen-eac90b56d4a749f10d440e4bb7fd744e4bc756e8.zip |
[EH] Convert EH tests into lit tests (#3923)
This converts most EH tests in test/passes into test/lit/passes. Fixed
some files to follow 2-space indentation and improved some comments.
Diffstat (limited to 'test/passes/remove-unused-names_optimize-instructions_all-features.txt')
-rw-r--r-- | test/passes/remove-unused-names_optimize-instructions_all-features.txt | 125 |
1 files changed, 0 insertions, 125 deletions
diff --git a/test/passes/remove-unused-names_optimize-instructions_all-features.txt b/test/passes/remove-unused-names_optimize-instructions_all-features.txt deleted file mode 100644 index cf1e44132..000000000 --- a/test/passes/remove-unused-names_optimize-instructions_all-features.txt +++ /dev/null @@ -1,125 +0,0 @@ -(module - (type $none_=>_none (func)) - (type $i32_=>_none (func (param i32))) - (event $e (attr 0) (param i32)) - (func $dummy - (nop) - ) - (func $getFallthrough - (local $x0 i32) - (local $x1 i32) - (local $x2 i32) - (local $x3 i32) - (local $x4 i32) - (local.set $x0 - (try (result i32) - (do - (i32.const 1) - ) - (catch_all - (i32.const 3) - ) - ) - ) - (drop - (local.get $x0) - ) - (local.set $x1 - (try (result i32) - (do - (call $dummy) - (i32.const 1) - ) - (catch_all - (i32.const 3) - ) - ) - ) - (drop - (i32.and - (local.get $x1) - (i32.const 7) - ) - ) - (local.set $x2 - (try (result i32) - (do - (try - (do - (throw $e - (i32.const 0) - ) - ) - (catch $e - (drop - (pop i32) - ) - ) - ) - (i32.const 1) - ) - (catch $e - (drop - (pop i32) - ) - (i32.const 3) - ) - ) - ) - (drop - (i32.and - (local.get $x2) - (i32.const 7) - ) - ) - (local.set $x3 - (try (result i32) - (do - (try - (do - (throw $e - (i32.const 0) - ) - ) - (catch_all - (nop) - ) - ) - (i32.const 1) - ) - (catch_all - (i32.const 3) - ) - ) - ) - (drop - (local.get $x3) - ) - (local.set $x4 - (try (result i32) - (do - (try - (do - (nop) - ) - (catch_all - (throw $e - (i32.const 0) - ) - ) - ) - (i32.const 1) - ) - (catch_all - (i32.const 3) - ) - ) - ) - (drop - (i32.and - (local.get $x4) - (i32.const 7) - ) - ) - ) -) |