| Index: runtime/vm/virtual_memory.h
|
| ===================================================================
|
| --- runtime/vm/virtual_memory.h (revision 41212)
|
| +++ runtime/vm/virtual_memory.h (working copy)
|
| @@ -63,6 +63,9 @@
|
| // Truncate this virtual memory segment.
|
| void Truncate(intptr_t new_size, bool try_unmap = true);
|
|
|
| + // Commit a reserved memory area, so that the memory can be accessed.
|
| + bool Commit(uword addr, intptr_t size, bool is_executable);
|
| +
|
| private:
|
| static VirtualMemory* ReserveInternal(intptr_t size);
|
|
|
| @@ -76,9 +79,6 @@
|
| region_(region.pointer(), region.size()),
|
| reserved_size_(region.size()) { }
|
|
|
| - // Commit a reserved memory area, so that the memory can be accessed.
|
| - bool Commit(uword addr, intptr_t size, bool is_executable);
|
| -
|
| MemoryRegion region_;
|
|
|
| // The size of the underlying reservation not yet given back to the OS.
|
|
|