| Index: src/heap.h
 | 
| ===================================================================
 | 
| --- src/heap.h	(revision 5045)
 | 
| +++ src/heap.h	(working copy)
 | 
| @@ -774,12 +774,11 @@
 | 
|                                        DirtyRegionCallback visit_dirty_region,
 | 
|                                        ObjectSlotCallback callback);
 | 
|  
 | 
| -  // Iterate pointers to from semispace of new space found in memory interval
 | 
| -  // from start to end.
 | 
| +  // Iterate pointers to new space found in memory interval from start to end.
 | 
|    // Update dirty marks for page containing start address.
 | 
| -  static void IterateAndMarkPointersToFromSpace(Address start,
 | 
| -                                                Address end,
 | 
| -                                                ObjectSlotCallback callback);
 | 
| +  static void IterateAndMarkPointersToNewSpace(Address start,
 | 
| +                                               Address end,
 | 
| +                                               ObjectSlotCallback callback);
 | 
|  
 | 
|    // Iterate pointers to new space found in memory interval from start to end.
 | 
|    // Return true if pointers to new space was found.
 | 
| @@ -986,8 +985,6 @@
 | 
|  
 | 
|    static void RecordStats(HeapStats* stats);
 | 
|  
 | 
| -  static Scavenger GetScavenger(int instance_type, int instance_size);
 | 
| -
 | 
|    // Copy block of memory from src to dst. Size of block should be aligned
 | 
|    // by pointer size.
 | 
|    static inline void CopyBlock(Address dst, Address src, int byte_size);
 | 
| @@ -1235,7 +1232,17 @@
 | 
|      set_instanceof_cache_function(the_hole_value());
 | 
|    }
 | 
|  
 | 
| +  // Helper function used by CopyObject to copy a source object to an
 | 
| +  // allocated target object and update the forwarding pointer in the source
 | 
| +  // object.  Returns the target object.
 | 
| +  static inline HeapObject* MigrateObject(HeapObject* source,
 | 
| +                                          HeapObject* target,
 | 
| +                                          int size);
 | 
| +
 | 
|  #if defined(DEBUG) || defined(ENABLE_LOGGING_AND_PROFILING)
 | 
| +  // Record the copy of an object in the NewSpace's statistics.
 | 
| +  static void RecordCopiedObject(HeapObject* obj);
 | 
| +
 | 
|    // Record statistics before and after garbage collection.
 | 
|    static void ReportStatisticsBeforeGC();
 | 
|    static void ReportStatisticsAfterGC();
 | 
| 
 |