Skip to content

Commit e6c8472

Browse files
committed
work
1 parent f0e9f64 commit e6c8472

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

src/passes/Flatten.cpp

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ struct LowerUnflattenable : public PostWalker<LowerUnflattenable> {
8282
// flowValue
8383
//
8484
// Each op fills in those things.
85-
Expression* condition; // uses refTee
86-
Expression* brValue;
87-
Expression* flowValue;
85+
Expression* condition = nullptr; // uses refTee
86+
Expression* brValue = nullptr;
87+
Expression* flowValue = nullptr;
8888
bool flip = false; // whether to flip the condition.
8989

9090
switch (curr->op) {
@@ -114,13 +114,9 @@ struct LowerUnflattenable : public PostWalker<LowerUnflattenable> {
114114
flowValue = builder.makeRefCast(getRef(), curr->castType);
115115
break;
116116
}
117-
case BrOnCastDescEq: {
118-
assert(false); // TODO
119-
break;
120-
}
117+
case BrOnCastDescEq:
121118
case BrOnCastDescEqFail: {
122-
assert(false); // TODO
123-
break;
119+
WASM_UNREACHABLE("TODO");
124120
}
125121
}
126122

0 commit comments

Comments
 (0)