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

Unified Diff: src/spaces.h

Issue 7389008: Make Win64 compile. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 5 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
Index: src/spaces.h
diff --git a/src/spaces.h b/src/spaces.h
index e71796084024e5f67cc7641e008fcda742be01db..ec8b9d9d7806b1eec0998916ddfb0cff0f3a13d5 100644
--- a/src/spaces.h
+++ b/src/spaces.h
@@ -352,7 +352,7 @@ class MemoryChunk {
Address body_limit() { return address() + size(); }
- int body_size() { return size() - kObjectStartOffset; }
+ int body_size() { return static_cast<int>(size() - kObjectStartOffset); }
bool Contains(Address addr) {
return addr >= body() && addr < address() + size();

Powered by Google App Engine
This is Rietveld 408576698