Index: src/base/platform/platform-macos.cc |
diff --git a/src/base/platform/platform-macos.cc b/src/base/platform/platform-macos.cc |
index ecd440c5a2e054d1d0740ea47b164d8498eb9832..91bc8d6714edc16c5765ba6a64639915c61c7a25 100644 |
--- a/src/base/platform/platform-macos.cc |
+++ b/src/base/platform/platform-macos.cc |
@@ -239,6 +239,10 @@ bool VirtualMemory::UncommitRegion(void* address, size_t size) { |
kMmapFdOffset) != MAP_FAILED; |
} |
+bool VirtualMemory::ReleasePartialRegion(void* base, size_t size, |
+ void* free_start, size_t free_size) { |
+ return munmap(free_start, free_size) == 0; |
+} |
bool VirtualMemory::ReleaseRegion(void* address, size_t size) { |
return munmap(address, size) == 0; |