summaryrefslogtreecommitdiff
path: root/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_enable-exception-handling.txt
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2019-12-17 01:03:54 -0800
committerGitHub <noreply@github.com>2019-12-17 01:03:54 -0800
commitfad92eaf2092efddf84da455d4af8431d5f87592 (patch)
treef28ba44a0284307689614b13ec90b3890fbf6c8d /test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_enable-exception-handling.txt
parent48ccb2bb8a7d013abba4667dfc0fb46548bef2af (diff)
downloadbinaryen-fad92eaf2092efddf84da455d4af8431d5f87592.tar.gz
binaryen-fad92eaf2092efddf84da455d4af8431d5f87592.tar.bz2
binaryen-fad92eaf2092efddf84da455d4af8431d5f87592.zip
Fix misc. tests (#2534)
- Remove a function from memory-packing_all-features.wast, because it does not test anything meaningful after #2529. - Rename a test file to use `--all-features`; it started failing I guess because `exnref` requires also reference type features, but not sure why it was OK so far.
Diffstat (limited to 'test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_enable-exception-handling.txt')
-rw-r--r--test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_enable-exception-handling.txt47
1 files changed, 0 insertions, 47 deletions
diff --git a/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_enable-exception-handling.txt b/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_enable-exception-handling.txt
deleted file mode 100644
index 8e9dfc415..000000000
--- a/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_enable-exception-handling.txt
+++ /dev/null
@@ -1,47 +0,0 @@
-(module
- (type $none_=>_none (func))
- (type $i32_=>_none (func (param i32)))
- (event $e0 (attr 0) (param i32))
- (func $eh (; 0 ;)
- (local $exn exnref)
- try
- i32.const 0
- throw $e0
- catch
- local.set $exn
- block $l0 (result i32)
- local.get $exn
- br_on_exn $l0 $e0
- rethrow
- end
- drop
- end
- )
-)
-(module
- (type $none_=>_none (func))
- (type $i32_=>_none (func (param i32)))
- (event $e0 (attr 0) (param i32))
- (func $eh (; 0 ;) (; has Stack IR ;)
- (local $exn exnref)
- (try
- (throw $e0
- (i32.const 0)
- )
- (catch
- (local.set $exn
- (exnref.pop)
- )
- (drop
- (block $l0 (result i32)
- (rethrow
- (br_on_exn $l0 $e0
- (local.get $exn)
- )
- )
- )
- )
- )
- )
- )
-)