| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "src/heap/heap.h" | 5 #include "src/heap/heap.h" | 
| 6 | 6 | 
| 7 #include "src/accessors.h" | 7 #include "src/accessors.h" | 
| 8 #include "src/api.h" | 8 #include "src/api.h" | 
| 9 #include "src/ast/scopeinfo.h" | 9 #include "src/ast/scopeinfo.h" | 
| 10 #include "src/base/bits.h" | 10 #include "src/base/bits.h" | 
| (...skipping 4802 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 4813   // off immortal immovable roots to make sure they end up on the first page, | 4813   // off immortal immovable roots to make sure they end up on the first page, | 
| 4814   // and then again for the rest. | 4814   // and then again for the rest. | 
| 4815   if (mode == VISIT_ONLY_STRONG_ROOT_LIST) return; | 4815   if (mode == VISIT_ONLY_STRONG_ROOT_LIST) return; | 
| 4816 | 4816 | 
| 4817   isolate_->bootstrapper()->Iterate(v); | 4817   isolate_->bootstrapper()->Iterate(v); | 
| 4818   v->Synchronize(VisitorSynchronization::kBootstrapper); | 4818   v->Synchronize(VisitorSynchronization::kBootstrapper); | 
| 4819   isolate_->Iterate(v); | 4819   isolate_->Iterate(v); | 
| 4820   v->Synchronize(VisitorSynchronization::kTop); | 4820   v->Synchronize(VisitorSynchronization::kTop); | 
| 4821   Relocatable::Iterate(isolate_, v); | 4821   Relocatable::Iterate(isolate_, v); | 
| 4822   v->Synchronize(VisitorSynchronization::kRelocatable); | 4822   v->Synchronize(VisitorSynchronization::kRelocatable); | 
|  | 4823   isolate_->debug()->Iterate(v); | 
|  | 4824   v->Synchronize(VisitorSynchronization::kDebug); | 
| 4823 | 4825 | 
| 4824   isolate_->compilation_cache()->Iterate(v); | 4826   isolate_->compilation_cache()->Iterate(v); | 
| 4825   v->Synchronize(VisitorSynchronization::kCompilationCache); | 4827   v->Synchronize(VisitorSynchronization::kCompilationCache); | 
| 4826 | 4828 | 
| 4827   // Iterate over local handles in handle scopes. | 4829   // Iterate over local handles in handle scopes. | 
| 4828   isolate_->handle_scope_implementer()->Iterate(v); | 4830   isolate_->handle_scope_implementer()->Iterate(v); | 
| 4829   isolate_->IterateDeferredHandles(v); | 4831   isolate_->IterateDeferredHandles(v); | 
| 4830   v->Synchronize(VisitorSynchronization::kHandleScope); | 4832   v->Synchronize(VisitorSynchronization::kHandleScope); | 
| 4831 | 4833 | 
| 4832   // Iterate over the builtin code objects and code stubs in the | 4834   // Iterate over the builtin code objects and code stubs in the | 
| (...skipping 1570 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 6403 } | 6405 } | 
| 6404 | 6406 | 
| 6405 | 6407 | 
| 6406 // static | 6408 // static | 
| 6407 int Heap::GetStaticVisitorIdForMap(Map* map) { | 6409 int Heap::GetStaticVisitorIdForMap(Map* map) { | 
| 6408   return StaticVisitorBase::GetVisitorId(map); | 6410   return StaticVisitorBase::GetVisitorId(map); | 
| 6409 } | 6411 } | 
| 6410 | 6412 | 
| 6411 }  // namespace internal | 6413 }  // namespace internal | 
| 6412 }  // namespace v8 | 6414 }  // namespace v8 | 
| OLD | NEW | 
|---|