Index: src/heap/spaces.h |
diff --git a/src/heap/spaces.h b/src/heap/spaces.h |
index 6bac44ee6d906d9c9f4b94d9a580879b530a0a2d..604be74b3e400e565b98ffb8bbedc57b15110462 100644 |
--- a/src/heap/spaces.h |
+++ b/src/heap/spaces.h |
@@ -2183,7 +2183,9 @@ class V8_EXPORT_PRIVATE PagedSpace : NON_EXPORTED_BASE(public Space) { |
int size_in_bytes); |
// Slow path of AllocateRaw. This function is space-dependent. |
- MUST_USE_RESULT HeapObject* SlowAllocateRaw(int size_in_bytes); |
+ MUST_USE_RESULT virtual HeapObject* SlowAllocateRaw(int size_in_bytes); |
+ |
+ MUST_USE_RESULT HeapObject* RawSlowAllocateRaw(int size_in_bytes); |
size_t area_size_; |
@@ -2742,6 +2744,8 @@ class V8_EXPORT_PRIVATE CompactionSpace : public PagedSpace { |
MUST_USE_RESULT HeapObject* SweepAndRetryAllocation( |
int size_in_bytes) override; |
+ |
+ MUST_USE_RESULT HeapObject* SlowAllocateRaw(int size_in_bytes) override; |
}; |