Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 4840b2de1963d869e3265036df57ff095be9bfde..8ae3cf8a69249fcfe530a9bb7ed9a265c6713ab7 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -31,6 +31,7 @@ |
#include "src/property.h" |
#include "src/prototype.h" |
#include "src/transitions-inl.h" |
+#include "src/type-feedback-vector.h" |
#include "src/v8memory.h" |
namespace v8 { |
@@ -708,6 +709,9 @@ bool Object::IsTransitionArray() const { |
} |
+bool Object::IsTypeFeedbackVector() const { return IsFixedArray(); } |
+ |
+ |
bool Object::IsDeoptimizationInputData() const { |
// Must be a fixed array. |
if (!IsFixedArray()) return false; |
@@ -5400,7 +5404,7 @@ ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) |
ACCESSORS(SharedFunctionInfo, optimized_code_map, Object, |
kOptimizedCodeMapOffset) |
ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset) |
-ACCESSORS(SharedFunctionInfo, feedback_vector, FixedArray, |
+ACCESSORS(SharedFunctionInfo, feedback_vector, TypeFeedbackVector, |
kFeedbackVectorOffset) |
ACCESSORS(SharedFunctionInfo, instance_class_name, Object, |
kInstanceClassNameOffset) |