| Index: src/heap/spaces.h
|
| diff --git a/src/heap/spaces.h b/src/heap/spaces.h
|
| index 9ecb3c432eb0ac279eeb819e55a80d6d7180a553..e76e09c76d766accedadc2b64511a71e60ad67dd 100644
|
| --- a/src/heap/spaces.h
|
| +++ b/src/heap/spaces.h
|
| @@ -2728,6 +2728,10 @@ class LargeObjectSpace : public Space {
|
| MUST_USE_RESULT AllocationResult
|
| AllocateRaw(int object_size, Executability executable);
|
|
|
| + void PrepareForDeserialization(int large_objects_total_size);
|
| +
|
| + bool CanAllocateSize(int size) { return Size() + size <= max_capacity_; }
|
| +
|
| // Available bytes for objects in this space.
|
| inline intptr_t Available();
|
|
|
|
|