Chromium Code Reviews| Index: src/spaces.h |
| diff --git a/src/spaces.h b/src/spaces.h |
| index aa864b66ba591f2ff4046834be81ddf68aa9c699..f2c209edc63940e00c1f8f224106ff7d80c38bd2 100644 |
| --- a/src/spaces.h |
| +++ b/src/spaces.h |
| @@ -1699,6 +1699,7 @@ class PagedSpace : public Space { |
| // Allocate the requested number of bytes in the space if possible, return a |
| // failure object if not. |
| MUST_USE_RESULT inline MaybeObject* AllocateRaw(int size_in_bytes); |
|
Hannes Payer (out of office)
2013/08/28 09:51:32
Instead of adding multiple allocation methods to s
Alexandra Mikhaylova
2013/09/24 14:56:20
Done.
|
| + MUST_USE_RESULT inline MaybeObject* AllocateRawForMigration(int size_in_bytes); |
|
loislo
2013/08/27 09:04:57
style: 80 symbols
Alexandra Mikhaylova
2013/09/19 16:03:38
Done.
|
| virtual bool ReserveSpace(int bytes); |
| @@ -1879,6 +1880,9 @@ class PagedSpace : public Space { |
| friend class PageIterator; |
| friend class SweeperThread; |
| + |
| + private: |
| + inline HeapObject* AllocateRawHelper(int size_in_bytes); |
| }; |