| Index: src/spaces.h
|
| ===================================================================
|
| --- src/spaces.h (revision 13214)
|
| +++ src/spaces.h (working copy)
|
| @@ -888,7 +888,11 @@
|
| // the code range. On platforms with no separate code range, should
|
| // not be called.
|
| MUST_USE_RESULT Address AllocateRawMemory(const size_t requested,
|
| - size_t* allocated);
|
| + size_t* allocated,
|
| + bool committed = true);
|
| + bool CommitRawMemory(Address start, size_t size);
|
| + Address ReserveChunk(size_t body_size, size_t *reserved);
|
| +
|
| void FreeRawMemory(Address buf, size_t length);
|
|
|
| private:
|
| @@ -1039,6 +1043,9 @@
|
| MemoryChunk* AllocateChunk(intptr_t body_size,
|
| Executability executable,
|
| Space* space);
|
| + MemoryChunk* CommitChunkInCodeRange(Address start,
|
| + size_t body_size,
|
| + size_t reserved_size);
|
|
|
| Address ReserveAlignedMemory(size_t requested,
|
| size_t alignment,
|
|
|