| Index: src/compiler/js-operator.cc
|
| diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc
|
| index f551b881fd32b66f08cc7a06b1a4d23625503aa6..d39efce87e11eea63d5bd6405f7088866666e1e7 100644
|
| --- a/src/compiler/js-operator.cc
|
| +++ b/src/compiler/js-operator.cc
|
| @@ -9,11 +9,21 @@
|
| #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 {
|
|
|
| +VectorSlotPair::VectorSlotPair() : slot_(FeedbackVectorICSlot::Invalid()) {}
|
| +
|
| +
|
| +int VectorSlotPair::index() const {
|
| + return vector_.is_null() ? -1 : vector_->GetIndex(slot_);
|
| +}
|
| +
|
| +
|
| bool operator==(VectorSlotPair const& lhs, VectorSlotPair const& rhs) {
|
| return lhs.slot() == rhs.slot() &&
|
| lhs.vector().location() == rhs.vector().location();
|
|
|