| Index: src/type-feedback-vector.h
|
| diff --git a/src/type-feedback-vector.h b/src/type-feedback-vector.h
|
| index a6f72210fc9f2545d77ea92e885a6f801071fadd..6a156e696d3e610a464e7ea383e71f72bce92336 100644
|
| --- a/src/type-feedback-vector.h
|
| +++ b/src/type-feedback-vector.h
|
| @@ -9,7 +9,6 @@
|
|
|
| #include "src/checks.h"
|
| #include "src/elements-kind.h"
|
| -#include "src/heap/heap.h"
|
| #include "src/isolate.h"
|
| #include "src/objects.h"
|
| #include "src/zone-containers.h"
|
| @@ -186,12 +185,18 @@ class TypeFeedbackVector : public FixedArray {
|
| Code::Kind GetKind(FeedbackVectorICSlot slot) const;
|
|
|
| template <typename Spec>
|
| - static Handle<TypeFeedbackVector> Allocate(Isolate* isolate,
|
| - const Spec* spec);
|
| + static int SizeFor(const Spec* spec);
|
| +
|
| + template <typename Spec>
|
| + void Init(Isolate* isolate, const Spec* spec);
|
|
|
| static Handle<TypeFeedbackVector> Copy(Isolate* isolate,
|
| Handle<TypeFeedbackVector> vector);
|
|
|
| + DECLARE_PRINTER(TypeFeedbackVector)
|
| +
|
| + void TypeFeedbackVectorVerify();
|
| +
|
| // Clears the vector slots and the vector ic slots.
|
| void ClearSlots(SharedFunctionInfo* shared) { ClearSlotsImpl(shared, true); }
|
| void ClearSlotsAtGCTime(SharedFunctionInfo* shared) {
|
|
|