Reviewers: Sven Panne,
Message:
Committed patchset #1 manually as r15920 (presubmit successful).
Description:
Fix break in r15919.
[email protected]
Committed: https://code.google.com/p/v8/source/detail?r=15920
Please review this at https://codereview.chromium.org/21029003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/platform-win32.cc
Index: src/platform-win32.cc
diff --git a/src/platform-win32.cc b/src/platform-win32.cc
index
68c60096880d3589588c729b142965327c5deead..6e50c3e1e332ffa9656c46674db9054937efa6cd
100644
--- a/src/platform-win32.cc
+++ b/src/platform-win32.cc
@@ -925,7 +925,7 @@ static void* RandomizedVirtualAlloc(size_t size, int
action, int protection) {
if (protection == PAGE_EXECUTE_READWRITE || protection == PAGE_NOACCESS)
{
// For exectutable pages try and randomize the allocation address
for (size_t attempts = 0; base == NULL && attempts < 3; ++attempts) {
- base = VirtualAlloc(GetRandomAddr(), size, action, protection);
+ base = VirtualAlloc(OS::GetRandomAddr(), size, action, protection);
}
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.