| Index: src/compiler/js-operator.cc
|
| diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc
|
| index f96584a837ffc8d8ad022c5f9b825edb0bae17d7..3ab2a21977ec8b165eaeb1a6fd2d328eb421da34 100644
|
| --- a/src/compiler/js-operator.cc
|
| +++ b/src/compiler/js-operator.cc
|
| @@ -9,11 +9,19 @@
|
| #include "src/base/lazy-instance.h"
|
| #include "src/compiler/opcodes.h"
|
| #include "src/compiler/operator.h"
|
| +#include "src/objects-inl.h" // TODO(mstarzinger): Temporary cycle breaker!
|
| +#include "src/type-feedback-vector-inl.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| namespace compiler {
|
|
|
| +int VectorSlotPair::index() const {
|
| + Handle<TypeFeedbackVector> vector;
|
| + return vector_.ToHandle(&vector) ? vector->GetIndex(slot_) : -1;
|
| +}
|
| +
|
| +
|
| bool operator==(VectorSlotPair const& lhs, VectorSlotPair const& rhs) {
|
| return lhs.slot() == rhs.slot() && lhs.vector() == rhs.vector();
|
| }
|
|
|