Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index a0a7a7320649fdff523c509f9f49e7760b4b3618..740aa442936160709f7e23586ee2a910b6827aaa 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -968,7 +968,7 @@ class CaseClause: public ZoneObject { |
TypeFeedbackId CompareId() { return compare_id_; } |
void RecordTypeFeedback(TypeFeedbackOracle* oracle); |
bool IsSmiCompare() { return compare_type_ == SMI_ONLY; } |
- bool IsSymbolCompare() { return compare_type_ == SYMBOL_ONLY; } |
+ bool IsNameCompare() { return compare_type_ == NAME_ONLY; } |
bool IsStringCompare() { return compare_type_ == STRING_ONLY; } |
bool IsObjectCompare() { return compare_type_ == OBJECT_ONLY; } |
@@ -980,7 +980,7 @@ class CaseClause: public ZoneObject { |
enum CompareTypeFeedback { |
NONE, |
SMI_ONLY, |
- SYMBOL_ONLY, |
+ NAME_ONLY, |
STRING_ONLY, |
OBJECT_ONLY |
}; |
@@ -1171,7 +1171,7 @@ class Literal: public Expression { |
DECLARE_NODE_TYPE(Literal) |
virtual bool IsPropertyName() { |
- if (handle_->IsSymbol()) { |
+ if (handle_->IsInternalizedString()) { |
uint32_t ignored; |
return !String::cast(*handle_)->AsArrayIndex(&ignored); |
} |