Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index f9eeaad0fca4df8a761ad1d1acba3ffc13451a30..db35126ad0f19dc7ed49cd7ea31d23c474069db2 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -3657,8 +3657,7 @@ void MarkCompactCollector::EvacuateNewSpaceAndCandidates() { |
GCTracer::Scope gc_scope(heap()->tracer(), |
GCTracer::Scope::MC_UPDATE_NEW_TO_NEW_POINTERS); |
// Update pointers in to space. |
- SemiSpaceIterator to_it(heap()->new_space()->bottom(), |
- heap()->new_space()->top()); |
+ SemiSpaceIterator to_it(heap()->new_space()); |
for (HeapObject* object = to_it.Next(); object != NULL; |
object = to_it.Next()) { |
Map* map = object->map(); |