Index: runtime/vm/virtual_memory_macos.cc |
diff --git a/runtime/vm/virtual_memory_macos.cc b/runtime/vm/virtual_memory_macos.cc |
index 967e8e4d3220c8564d575e1e983c5d1f97be1ef9..25236da65a5dcaa1fc1bbdfab845be9c8ca9f8f8 100644 |
--- a/runtime/vm/virtual_memory_macos.cc |
+++ b/runtime/vm/virtual_memory_macos.cc |
@@ -68,7 +68,10 @@ bool VirtualMemory::FreeSubSegment(int32_t handle, |
} |
-bool VirtualMemory::Commit(uword addr, intptr_t size, bool executable) { |
+bool VirtualMemory::Commit(uword addr, |
+ intptr_t size, |
+ bool executable, |
+ const char* name) { |
ASSERT(Contains(addr)); |
ASSERT(Contains(addr + size) || (addr + size == end())); |
int prot = PROT_READ | PROT_WRITE | (executable ? PROT_EXEC : 0); |