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

Unified Diff: src/mark-compact.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/mark-compact.h
diff --git a/src/mark-compact.h b/src/mark-compact.h
index 1b7e60022e57674093ab5b87a1e53da542759b9a..41fb2705d6feafd21e423e0db97cdcbf5c98d8e6 100644
--- a/src/mark-compact.h
+++ b/src/mark-compact.h
@@ -300,6 +300,7 @@ class MarkCompactCollector: public AllStatic {
// pointers in the non-live region immediately following each
// live region) to speed further passes of the collector.
+#ifndef BASELINE_GC
// Encodes forwarding addresses of objects in compactable parts of the
// heap.
static void EncodeForwardingAddresses();
@@ -312,6 +313,7 @@ class MarkCompactCollector: public AllStatic {
// functions.
template<AllocationFunction Alloc, ProcessNonLiveFunction ProcessNonLive>
static void EncodeForwardingAddressesInPagedSpace(PagedSpace* space);
+#endif
// Iterates live objects in a space, passes live objects
// to a callback function which returns the heap size of the object.
@@ -329,6 +331,7 @@ class MarkCompactCollector: public AllStatic {
// regions to each space's free list.
static void SweepSpaces();
+#ifndef BASELINE_GC
// -----------------------------------------------------------------------
// Phase 3: Updating pointers in live objects.
//
@@ -388,6 +391,7 @@ class MarkCompactCollector: public AllStatic {
// Copy a new object.
static int RelocateNewObject(HeapObject* obj);
+#endif
#ifdef DEBUG
// -----------------------------------------------------------------------
« src/ia32/codegen-ia32.cc ('K') | « src/ia32/stub-cache-ia32.cc ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698