Index: src/platform-freebsd.cc |
=================================================================== |
--- src/platform-freebsd.cc (revision 10877) |
+++ src/platform-freebsd.cc (working copy) |
@@ -411,6 +411,12 @@ |
} |
+bool VirtualMemory::Guard(void* address) { |
+ OS::Guard(address, OS::CommitPageSize()); |
+ return true; |
+} |
+ |
+ |
void* VirtualMemory::ReserveRegion(size_t size) { |
void* result = mmap(OS::GetRandomMmapAddr(), |
size, |