Index: src/base/platform/platform-freebsd.cc |
diff --git a/src/base/platform/platform-freebsd.cc b/src/base/platform/platform-freebsd.cc |
index 413e193744403bbabd7c516be858fd2dcc104db9..efb1872f3576bb0ba05732e7406d32bdeb151712 100644 |
--- a/src/base/platform/platform-freebsd.cc |
+++ b/src/base/platform/platform-freebsd.cc |
@@ -246,6 +246,10 @@ bool VirtualMemory::UncommitRegion(void* base, 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* base, size_t size) { |
return munmap(base, size) == 0; |