Index: src/type-feedback-vector.h |
diff --git a/src/type-feedback-vector.h b/src/type-feedback-vector.h |
index 1e32a4769ddc179e9e2a0a509d07e0dcf0bed418..d83b77fa3e6f8e628f67f864f74291daf676066f 100644 |
--- a/src/type-feedback-vector.h |
+++ b/src/type-feedback-vector.h |
@@ -135,8 +135,6 @@ |
static inline int GetSlotSize(FeedbackVectorSlotKind kind); |
bool SpecDiffersFrom(const FeedbackVectorSpec* other_spec) const; |
- |
- bool DiffersFrom(const TypeFeedbackMetadata* other_metadata) const; |
// Returns number of slots in the vector. |
inline int slot_count() const; |
@@ -196,12 +194,12 @@ |
inline TypeFeedbackMetadata* metadata() const; |
// Conversion from a slot to an integer index to the underlying array. |
- static inline int GetIndex(FeedbackVectorSlot slot); |
+ inline int GetIndex(FeedbackVectorSlot slot) const; |
static int GetIndexFromSpec(const FeedbackVectorSpec* spec, |
FeedbackVectorSlot slot); |
// Conversion from an integer index to the underlying array to a slot. |
- static inline FeedbackVectorSlot ToSlot(int index); |
+ inline FeedbackVectorSlot ToSlot(int index) const; |
inline Object* Get(FeedbackVectorSlot slot) const; |
inline void Set(FeedbackVectorSlot slot, Object* value, |
WriteBarrierMode mode = UPDATE_WRITE_BARRIER); |