Index: src/compiler/js-operator.h |
diff --git a/src/compiler/js-operator.h b/src/compiler/js-operator.h |
index 0f4fd3572029a0e44931c3ff128b1c2dbb227c8c..d583f6414e4aa46a91189c811e38ec07c8b4f195 100644 |
--- a/src/compiler/js-operator.h |
+++ b/src/compiler/js-operator.h |
@@ -27,16 +27,15 @@ class VectorSlotPair { |
bool IsValid() const { return !vector_.is_null(); } |
- MaybeHandle<TypeFeedbackVector> vector() const { return vector_; } |
+ Handle<TypeFeedbackVector> vector() const { return vector_; } |
FeedbackVectorICSlot slot() const { return slot_; } |
int index() const { |
- Handle<TypeFeedbackVector> vector; |
- return vector_.ToHandle(&vector) ? vector->GetIndex(slot_) : -1; |
+ return vector_.is_null() ? -1 : vector_->GetIndex(slot_); |
} |
private: |
- const MaybeHandle<TypeFeedbackVector> vector_; |
+ const Handle<TypeFeedbackVector> vector_; |
const FeedbackVectorICSlot slot_; |
}; |