Index: src/compiler/js-operator.cc |
diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc |
index f96584a837ffc8d8ad022c5f9b825edb0bae17d7..f551b881fd32b66f08cc7a06b1a4d23625503aa6 100644 |
--- a/src/compiler/js-operator.cc |
+++ b/src/compiler/js-operator.cc |
@@ -15,7 +15,8 @@ namespace internal { |
namespace compiler { |
bool operator==(VectorSlotPair const& lhs, VectorSlotPair const& rhs) { |
- return lhs.slot() == rhs.slot() && lhs.vector() == rhs.vector(); |
+ return lhs.slot() == rhs.slot() && |
+ lhs.vector().location() == rhs.vector().location(); |
} |
@@ -25,7 +26,7 @@ bool operator!=(VectorSlotPair const& lhs, VectorSlotPair const& rhs) { |
size_t hash_value(VectorSlotPair const& p) { |
- return base::hash_combine(p.slot(), p.vector()); |
+ return base::hash_combine(p.slot(), p.vector().location()); |
} |