#ifndef V8_HEAP_MAIN_ALLOCATOR_INL_H_
#define V8_HEAP_MAIN_ALLOCATOR_INL_H_
#include "src/base/sanitizer/msan.h"
#include "src/flags/flags.h"
#include "src/heap/heap-inl.h"
#include "src/heap/main-allocator.h"
namespace v8 {
namespace internal {
AllocationResult MainAllocator::AllocateRaw(int size_in_bytes,
AllocationAlignment alignment,
AllocationOrigin origin) { … }
AllocationResult MainAllocator::AllocateFastUnaligned(int size_in_bytes,
AllocationOrigin origin) { … }
AllocationResult MainAllocator::AllocateFastAligned(
int size_in_bytes, int* result_aligned_size_in_bytes,
AllocationAlignment alignment, AllocationOrigin origin) { … }
bool MainAllocator::TryFreeLast(Address object_address, int object_size) { … }
}
}
#endif