| Index: src/ast.cc
|
| diff --git a/src/ast.cc b/src/ast.cc
|
| index d5282d24efd3ea4de114e4a95d7fd75ceac9e9ee..69ea722bf296045018043666de592d3954c98f16 100644
|
| --- a/src/ast.cc
|
| +++ b/src/ast.cc
|
| @@ -695,6 +695,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 {
|
|
|