Index: src/feedback-vector-inl.h |
diff --git a/src/feedback-vector-inl.h b/src/feedback-vector-inl.h |
index 6f04ea8ea4355174d2ff1ed6715591e840f56a4f..7c5245f0d8751a9d6cd2073d75527b784babc8d8 100644 |
--- a/src/feedback-vector-inl.h |
+++ b/src/feedback-vector-inl.h |
@@ -84,7 +84,11 @@ int FeedbackVector::slot_count() const { |
} |
FeedbackMetadata* FeedbackVector::metadata() const { |
- return FeedbackMetadata::cast(get(kMetadataIndex)); |
+ return shared_function_info()->feedback_metadata(); |
+} |
+ |
+SharedFunctionInfo* FeedbackVector::shared_function_info() const { |
+ return SharedFunctionInfo::cast(get(kSharedFunctionInfoIndex)); |
} |
int FeedbackVector::invocation_count() const { |