Chromium Code Reviews| Index: src/typing.cc |
| diff --git a/src/typing.cc b/src/typing.cc |
| index 34bb64bd7de022f8835c4320db07a64e5aeb9c64..94b0af06fa778bdab693a5bca04cbd09747b351a 100644 |
| --- a/src/typing.cc |
| +++ b/src/typing.cc |
| @@ -206,6 +206,11 @@ void AstTyper::VisitSwitchStatement(SwitchStatement* stmt) { |
| } |
| +void AstTyper::VisitCaseClause(CaseClause* clause) { |
| + UNREACHABLE(); |
| +} |
| + |
| + |
| void AstTyper::VisitDoWhileStatement(DoWhileStatement* stmt) { |
| // Collect type feedback. |
| if (!stmt->cond()->ToBooleanIsTrue()) { |