Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index 9cfe5e04821ae38592dfa77edcc03e48fe787b69..9606092713a0e311ebe9e13b23eb04394d87c95a 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -36,7 +36,6 @@ |
#include "heap-profiler.h" |
#include "ic-inl.h" |
#include "incremental-marking.h" |
-#include "liveobjectlist-inl.h" |
#include "mark-compact.h" |
#include "objects-visiting.h" |
#include "objects-visiting-inl.h" |
@@ -2592,9 +2591,6 @@ void MarkCompactCollector::EvacuateNewSpace() { |
size, |
NEW_SPACE); |
} else { |
- // Process the dead object before we write a NULL into its header. |
- LiveObjectList::ProcessNonLive(object); |
- |
// Mark dead objects in the new space with null in their map field. |
Memory::Address_at(object->address()) = NULL; |
} |
@@ -2994,7 +2990,6 @@ void MarkCompactCollector::EvacuateNewSpaceAndCandidates() { |
GCTracer::Scope::MC_UPDATE_ROOT_TO_NEW_POINTERS); |
// Update roots. |
heap_->IterateRoots(&updating_visitor, VISIT_ALL_IN_SWEEP_NEWSPACE); |
- LiveObjectList::IterateElements(&updating_visitor); |
} |
{ GCTracer::Scope gc_scope(tracer_, |