diff options
Diffstat (limited to 'test/lit/passes/optimize-instructions-eh.wast')
-rw-r--r-- | test/lit/passes/optimize-instructions-eh.wast | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lit/passes/optimize-instructions-eh.wast b/test/lit/passes/optimize-instructions-eh.wast index 2c7f83aee..92a2dd37c 100644 --- a/test/lit/passes/optimize-instructions-eh.wast +++ b/test/lit/passes/optimize-instructions-eh.wast @@ -3,6 +3,10 @@ ;; RUN: | filecheck %s (module + ;; CHECK: (tag $e (param i32)) + ;; CHECK: (func $dummy + ;; CHECK-NEXT: (nop) + ;; CHECK-NEXT: ) (func $dummy) (tag $e (param i32)) @@ -17,6 +21,7 @@ ;; (i32.add (local.get $x) (i32.const 7)) can be just (local.get $x) when $x ;; is guaranteed to contain a value equal to or less than 7. + ;; CHECK: (func $getFallthrough-try-no-throw ;; CHECK-NEXT: (local $x i32) ;; CHECK-NEXT: (local.set $x |