Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Unified Diff: src/spaces.cc

Issue 9465003: Fix compilation issue on Win64. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/spaces.cc
diff --git a/src/spaces.cc b/src/spaces.cc
index de738fba80ab3cef49f0b5978a68d08045e658c3..1fbad551aff63992553b1161e99aaf8fc854a602 100644
--- a/src/spaces.cc
+++ b/src/spaces.cc
@@ -699,7 +699,7 @@ int MemoryAllocator::CodePageGuardStartOffset() {
int MemoryAllocator::CodePageGuardSize() {
- return OS::CommitPageSize();
+ return static_cast<int>(OS::CommitPageSize());
}
@@ -713,7 +713,7 @@ int MemoryAllocator::CodePageAreaStartOffset() {
int MemoryAllocator::CodePageAreaEndOffset() {
// We are guarding code pages: the last OS page will be protected as
// non-writable.
- return Page::kPageSize - OS::CommitPageSize();
+ return Page::kPageSize - static_cast<int>(OS::CommitPageSize());
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698