Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index a1e37b11e0b3b92226d36e47b921c38f89ea8614..c24f81bb8b3b9eb51230e23c74d8b5332c13250a 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -5502,7 +5502,7 @@ class PolymorphicCodeCacheHashTableKey : public HashTableKey { |
for (int i = 0; i < maps_->length(); ++i) { |
bool match_found = false; |
for (int j = 0; j < other_maps.length(); ++j) { |
- if (maps_->at(i)->EquivalentTo(*other_maps.at(j))) { |
+ if (*(maps_->at(i)) == *(other_maps.at(j))) { |
match_found = true; |
break; |
} |