| 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
|
| // -----------------------------------------------------------------------
|
|
|