Index: src/compiler/js-operator.h |
diff --git a/src/compiler/js-operator.h b/src/compiler/js-operator.h |
index b659292d6680f7e2cd9a3c3a1cc4d8b17c41ddce..1ce8173d61ea3094ae3d5941731514501d4acacd 100644 |
--- a/src/compiler/js-operator.h |
+++ b/src/compiler/js-operator.h |
@@ -104,6 +104,8 @@ class VectorSlotPair { |
Handle<TypeFeedbackVector> vector() const { return vector_; } |
FeedbackVectorICSlot slot() const { return slot_; } |
+ int index() const { return vector_->GetIndex(slot_); } |
+ |
private: |
const Handle<TypeFeedbackVector> vector_; |
const FeedbackVectorICSlot slot_; |