Home | History | Annotate | Download | only in src

Lines Matching refs:SwitchStatement

150 void AstTyper::VisitSwitchStatement(SwitchStatement* stmt) {
154 SwitchStatement::SwitchType switch_type = stmt->switch_type();
164 SwitchStatement::SwitchType label_switch_type =
165 label->IsSmiLiteral() ? SwitchStatement::SMI_SWITCH :
166 label->IsStringLiteral() ? SwitchStatement::STRING_SWITCH :
167 SwitchStatement::GENERIC_SWITCH;
168 if (switch_type == SwitchStatement::UNKNOWN_SWITCH)
171 switch_type = SwitchStatement::GENERIC_SWITCH;
193 if (switch_type == SwitchStatement::UNKNOWN_SWITCH)
194 switch_type = SwitchStatement::GENERIC_SWITCH;
199 if (switch_type == SwitchStatement::SMI_SWITCH) {