| Index: src/heap/heap-inl.h
|
| diff --git a/src/heap/heap-inl.h b/src/heap/heap-inl.h
|
| index fdb1d7345b4d79c0e738f39ab879667f4e604048..962b0e5611bde02b9d47c749b44892698e06e0c4 100644
|
| --- a/src/heap/heap-inl.h
|
| +++ b/src/heap/heap-inl.h
|
| @@ -16,6 +16,7 @@
|
| #include "src/list-inl.h"
|
| #include "src/msan.h"
|
| #include "src/objects.h"
|
| +#include "src/type-feedback-vector.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| @@ -149,6 +150,12 @@ AllocationResult Heap::CopyFixedDoubleArray(FixedDoubleArray* src) {
|
| }
|
|
|
|
|
| +AllocationResult Heap::CopyTypeFeedbackVector(TypeFeedbackVector* src) {
|
| + if (src->length() == 0) return src;
|
| + return CopyTypeFeedbackVectorWithMap(src, src->map());
|
| +}
|
| +
|
| +
|
| AllocationResult Heap::AllocateRaw(int size_in_bytes, AllocationSpace space,
|
| AllocationSpace retry_space,
|
| AllocationAlignment alignment) {
|
|
|