Index: src/platform-win32.cc |
=================================================================== |
--- src/platform-win32.cc (revision 14258) |
+++ src/platform-win32.cc (working copy) |
@@ -1537,11 +1537,7 @@ |
bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) { |
- if (CommitRegion(address, size, is_executable)) { |
- UpdateAllocatedSpaceLimits(address, static_cast<int>(size)); |
- return true; |
- } |
- return false; |
+ return CommitRegion(address, size, is_executable); |
} |