| Index: src/type-feedback-vector.h
|
| diff --git a/src/type-feedback-vector.h b/src/type-feedback-vector.h
|
| index c9eae023a867951103cf4dc76e4a4d8decdb0260..3f896226e81ca16fca150502117789dcd729777c 100644
|
| --- a/src/type-feedback-vector.h
|
| +++ b/src/type-feedback-vector.h
|
| @@ -217,6 +217,11 @@ class TypeFeedbackMetadata : public FixedArray {
|
| template <typename Spec>
|
| static Handle<TypeFeedbackMetadata> New(Isolate* isolate, const Spec* spec);
|
|
|
| + // Ensure that the given shared function info has type feedback metadata with
|
| + // the given spec.
|
| + static void EnsureAllocated(Isolate* isolate, Handle<SharedFunctionInfo> sfi,
|
| + const FeedbackVectorSpec* spec);
|
| +
|
| #ifdef OBJECT_PRINT
|
| // For gdb debugging.
|
| void Print();
|
|
|