Reviewers: Sven Panne,
Message:
Committed patchset #1 (id:1) manually as 23618 (presubmit successful).
Description:
Fix windows build.
[email protected]
Committed: https://code.google.com/p/v8/source/detail?r=23618
Please review this at https://codereview.chromium.org/528993003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -1 lines):
M src/base/platform/platform-win32.cc
Index: src/base/platform/platform-win32.cc
diff --git a/src/base/platform/platform-win32.cc
b/src/base/platform/platform-win32.cc
index
dc31ff873d45043f2a1b8ddc65c5c8209968d6ee..3066bc2e6316edd0520a9783120d189d4e364ac1
100644
--- a/src/base/platform/platform-win32.cc
+++ b/src/base/platform/platform-win32.cc
@@ -21,6 +21,7 @@
#include "src/base/win32-headers.h"
+#include "src/base/bits.h"
#include "src/base/lazy-instance.h"
#include "src/base/macros.h"
#include "src/base/platform/platform.h"
@@ -700,7 +701,7 @@ static size_t GetPageSize() {
if (page_size == 0) {
SYSTEM_INFO info;
GetSystemInfo(&info);
- page_size = RoundUpToPowerOf2(info.dwPageSize);
+ page_size = base::bits::RoundUpToPowerOfTwo32(info.dwPageSize);
}
return page_size;
}
--
--
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/d/optout.