Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 9e34bc0e815ab3836f07f95ae51dbc27e2c85ae8..3b32475a3716a01770f2374a239e413b26868cab 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -692,6 +692,8 @@ void CaseClause::RecordTypeFeedback(TypeFeedbackOracle* oracle) { |
TypeInfo info = oracle->SwitchType(this); |
if (info.IsSmi()) { |
compare_type_ = SMI_ONLY; |
+ } else if (info.IsSymbol()) { |
+ compare_type_ = SYMBOL_ONLY; |
} else if (info.IsNonPrimitive()) { |
compare_type_ = OBJECT_ONLY; |
} else { |