File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments