Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index ec03405fdd8e368b3404dfdfc51035ee7441edbc..f8f1c569f68554a616f83ca40f4aa625bd35fcd6 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -2508,8 +2508,8 @@ void Name::set_hash_field(uint32_t value) { |
bool Name::Equals(Name* other) { |
if (other == this) return true; |
- if (this->IsSymbol() || other->IsSymbol() || |
- (this->IsInternalizedString() && other->IsInternalizedString())) { |
+ if ((this->IsInternalizedString() && other->IsInternalizedString()) || |
+ this->IsSymbol() || other->IsSymbol()) { |
return false; |
} |
return String::cast(this)->SlowEquals(String::cast(other)); |