Index: src/platform-win32.cc |
=================================================================== |
--- src/platform-win32.cc (revision 10131) |
+++ src/platform-win32.cc (working copy) |
@@ -889,6 +889,11 @@ |
} |
+intptr_t OS::CommitPageSize() { |
+ return 4096; |
+} |
+ |
+ |
void OS::ProtectCode(void* address, const size_t size) { |
DWORD old_protect; |
VirtualProtect(address, size, PAGE_EXECUTE_READ, &old_protect); |