| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index bb482b80eeda6515155aba8610630d239490fd09..76b33f17ed543c584893ffebbdf5c6e814a498ab 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -711,12 +711,10 @@ void Heap::GarbageCollectionEpilogue() {
|
| #undef UPDATE_FRAGMENTATION_FOR_SPACE
|
| #undef UPDATE_COUNTERS_AND_FRAGMENTATION_FOR_SPACE
|
|
|
| -#if defined(DEBUG)
|
| +#ifdef DEBUG
|
| ReportStatisticsAfterGC();
|
| #endif // DEBUG
|
| -#ifdef ENABLE_DEBUGGER_SUPPORT
|
| isolate_->debug()->AfterGarbageCollection();
|
| -#endif // ENABLE_DEBUGGER_SUPPORT
|
| }
|
|
|
|
|
| @@ -5123,12 +5121,10 @@ void Heap::IterateStrongRoots(ObjectVisitor* v, VisitMode mode) {
|
| Relocatable::Iterate(isolate_, v);
|
| v->Synchronize(VisitorSynchronization::kRelocatable);
|
|
|
| -#ifdef ENABLE_DEBUGGER_SUPPORT
|
| isolate_->debug()->Iterate(v);
|
| if (isolate_->deoptimizer_data() != NULL) {
|
| isolate_->deoptimizer_data()->Iterate(v);
|
| }
|
| -#endif
|
| v->Synchronize(VisitorSynchronization::kDebug);
|
| isolate_->compilation_cache()->Iterate(v);
|
| v->Synchronize(VisitorSynchronization::kCompilationCache);
|
|
|