Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index e4f165ae44e5e64051c8ea176e5687b6869ef11b..324ecbb1b9e5e191bd5464ab1bce9028c343d94b 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -5511,7 +5511,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; |
} |