| Index: src/compiler/js-operator.cc
|
| diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc
|
| index cf7d65e2de763d850e66802a700361c432a90541..ac140b90608825ef8d40e4b74834e073505078e1 100644
|
| --- a/src/compiler/js-operator.cc
|
| +++ b/src/compiler/js-operator.cc
|
| @@ -109,14 +109,15 @@ ContextAccess const& ContextAccessOf(Operator const* op) {
|
|
|
|
|
| bool operator==(VectorSlotPair const& lhs, VectorSlotPair const& rhs) {
|
| - return lhs.slot() == rhs.slot() && lhs.vector().is_identical_to(rhs.vector());
|
| + return lhs.slot().ToInt() == rhs.slot().ToInt() &&
|
| + lhs.vector().is_identical_to(rhs.vector());
|
| }
|
|
|
|
|
| size_t hash_value(VectorSlotPair const& p) {
|
| // TODO(mvstanton): include the vector in the hash.
|
| base::hash<int> h;
|
| - return h(p.slot());
|
| + return h(p.slot().ToInt());
|
| }
|
|
|
|
|
|
|