Index: src/type-feedback-vector.cc |
diff --git a/src/type-feedback-vector.cc b/src/type-feedback-vector.cc |
index 05f510e865128ddf65c7d936fc8ada6eec3bdef3..789ac2ea77d726db01e9417069f9edeef0e7389d 100644 |
--- a/src/type-feedback-vector.cc |
+++ b/src/type-feedback-vector.cc |
@@ -154,6 +154,11 @@ const char* TypeFeedbackMetadata::Kind2String(FeedbackVectorSlotKind kind) { |
return "?"; |
} |
+FeedbackVectorSlotKind TypeFeedbackVector::GetKind( |
+ FeedbackVectorSlot slot) const { |
+ DCHECK(!is_empty()); |
+ return metadata()->GetKind(slot); |
+} |
// static |
Handle<TypeFeedbackVector> TypeFeedbackVector::New( |