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

Unified Diff: src/spaces-inl.h

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-inl.h
diff --git a/src/spaces-inl.h b/src/spaces-inl.h
index aaca9e45caa49617ac9d35adf7e6f5f8df17bb81..f216d3ddbb92c21d6f612102df9b22ff4384786b 100644
--- a/src/spaces-inl.h
+++ b/src/spaces-inl.h
@@ -114,12 +114,18 @@ Address Page::CachedAllocationWatermark() {
uint32_t Page::GetRegionMarks() {
+#ifndef BASELINE_GC
return dirty_regions_;
+#else
+ return kAllRegionsDirtyMarks;
+#endif
}
void Page::SetRegionMarks(uint32_t marks) {
+#ifndef BASELINE_GC
dirty_regions_ = marks;
+#endif
}
« src/ia32/codegen-ia32.cc ('K') | « src/spaces.cc ('k') | test/cctest/test-mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698