| Index: src/type-feedback-vector.h
|
| diff --git a/src/type-feedback-vector.h b/src/type-feedback-vector.h
|
| index 5b1908a7a6e020034e836efa22f4a06ffb4e168d..8f097dfb1d7f8b04b8b211f92f7b07f633be69e1 100644
|
| --- a/src/type-feedback-vector.h
|
| +++ b/src/type-feedback-vector.h
|
| @@ -201,7 +201,9 @@ class TypeFeedbackVector : public FixedArray {
|
| inline TypeFeedbackMetadata* metadata() const;
|
|
|
| // Conversion from a slot to an integer index to the underlying array.
|
| - static inline int GetIndex(FeedbackVectorSlot slot);
|
| + static int GetIndex(FeedbackVectorSlot slot) {
|
| + return kReservedIndexCount + slot.ToInt();
|
| + }
|
| static int GetIndexFromSpec(const FeedbackVectorSpec* spec,
|
| FeedbackVectorSlot slot);
|
|
|
|
|