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/generate-stack-ir_optimize-stack-ir_print-stack-ir_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/generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.txt')
-rw-r--r-- | test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.txt | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.txt b/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.txt deleted file mode 100644 index 8c86126d5..000000000 --- a/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.txt +++ /dev/null @@ -1,71 +0,0 @@ -(module - (type $i32_=>_none (func (param i32))) - (type $none_=>_none (func)) - (event $e0 (attr 0) (param i32)) - (func $eh - try $l0 - i32.const 0 - throw $e0 - catch $e0 - - drop - catch_all - rethrow $l0 - end - try $l00 - try $try - i32.const 0 - throw $e0 - delegate $l00 - unreachable - catch_all - nop - end - try $l01 - nop - delegate 0 - ) -) -(module - (type $i32_=>_none (func (param i32))) - (type $none_=>_none (func)) - (event $e0 (attr 0) (param i32)) - (func $eh (; has Stack IR ;) - (try $l0 - (do - (throw $e0 - (i32.const 0) - ) - ) - (catch $e0 - (drop - (pop i32) - ) - ) - (catch_all - (rethrow $l0) - ) - ) - (try $l00 - (do - (try $try - (do - (throw $e0 - (i32.const 0) - ) - ) - (delegate $l00) - ) - ) - (catch_all - (nop) - ) - ) - (try $l01 - (do - (nop) - ) - (delegate 0) - ) - ) -) |