| Index: src/ast.cc
|
| diff --git a/src/ast.cc b/src/ast.cc
|
| index 1429e2a437714408956b659ddebc41e4b462d629..91f4d9aabd750a9beb9ae85d2c5784a7f4d5d38c 100644
|
| --- a/src/ast.cc
|
| +++ b/src/ast.cc
|
| @@ -710,6 +710,10 @@ 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.IsNonSymbol()) {
|
| + compare_type_ = STRING_ONLY;
|
| } else if (info.IsNonPrimitive()) {
|
| compare_type_ = OBJECT_ONLY;
|
| } else {
|
|
|