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

Unified Diff: src/spaces.cc

Issue 5745005: Provide baseline GC version. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 10 years 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.cc
diff --git a/src/spaces.cc b/src/spaces.cc
index cdc682f879bf5e9bce8b9bf173ab32485f89b70b..a6ad3137197ab6d8fb7ae4760da2ece1f6adbbc2 100644
--- a/src/spaces.cc
+++ b/src/spaces.cc
@@ -2782,6 +2782,7 @@ void MapSpace::PrepareForMarkCompact(bool will_compact) {
// Call prepare of the super class.
FixedSpace::PrepareForMarkCompact(will_compact);
+#ifndef BASELINE_GC
if (will_compact) {
// Initialize map index entry.
int page_count = 0;
@@ -2795,6 +2796,7 @@ void MapSpace::PrepareForMarkCompact(bool will_compact) {
page_addresses_[page_count++] = p->address();
}
}
+#endif
}
« src/ia32/codegen-ia32.cc ('K') | « src/spaces.h ('k') | src/spaces-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698