Skip to content

Commit 6a3fbb5

Browse files
committed
Update lit tests
1 parent 4e0a009 commit 6a3fbb5

5 files changed

+567
-501
lines changed

src/ir/branch-utils.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ void operateOnScopeNameUsesAndSentValues(Expression* expr, T func) {
109109
func(name, sw->value);
110110
} else if (auto* br = expr->dynCast<BrOn>()) {
111111
func(name, br->ref);
112-
} else if (auto* tt = expr->dynCast<TryTable>()) {
112+
} else if (expr->dynCast<TryTable>()) {
113113
// The values are supplied by throwing instructions, so we are unable to
114114
// know what they will be here.
115115
func(name, nullptr);
116-
} else if (auto* res = expr->dynCast<Resume>()) {
116+
} else if (expr->dynCast<Resume>()) {
117117
// The values are supplied by suspend instructions executed while running
118118
// the continuation, so we are unable to know what they will be here.
119119
func(name, nullptr);

test/lit/passes/asyncify_pass-arg=asyncify-asserts_pass-arg=asyncify-onlylist@waka.wast

+3-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@
163163
;; CHECK-NEXT: (global.get $__asyncify_catch_counter)
164164
;; CHECK-NEXT: (i32.const 0)
165165
;; CHECK-NEXT: )
166-
;; CHECK-NEXT: (unreachable)
166+
;; CHECK-NEXT: (then
167+
;; CHECK-NEXT: (unreachable)
168+
;; CHECK-NEXT: )
167169
;; CHECK-NEXT: )
168170
;; CHECK-NEXT: (global.set $__asyncify_state
169171
;; CHECK-NEXT: (i32.const 1)

0 commit comments

Comments
 (0)