Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 97d281318a66ce2cfabc8e7ffc4d4072e2b075cc..d76ffde41fba5bb2f2e27cab24f967696c67cfe2 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -8067,6 +8067,14 @@ class JSFunction: public JSObject { |
// [feedback_vector_cell]: Fixed array holding the feedback vector. |
DECL_ACCESSORS(feedback_vector_cell, Cell) |
+ enum FeedbackVectorState { |
+ TOP_LEVEL_SCRIPT_NEEDS_VECTOR, |
+ NEEDS_VECTOR, |
+ HAS_VECTOR |
+ }; |
+ |
+ inline FeedbackVectorState GetFeedbackVectorState(Isolate* isolate) const; |
+ |
// feedback_vector() can be used once the function is compiled. |
inline FeedbackVector* feedback_vector() const; |
inline bool has_feedback_vector() const; |