diff options
Diffstat (limited to 'deps/v8/src/mark-compact.cc')
-rw-r--r-- | deps/v8/src/mark-compact.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/deps/v8/src/mark-compact.cc b/deps/v8/src/mark-compact.cc index 48774ec5b..56e4ea6ca 100644 --- a/deps/v8/src/mark-compact.cc +++ b/deps/v8/src/mark-compact.cc @@ -33,7 +33,8 @@ #include "mark-compact.h" #include "stub-cache.h" -namespace v8 { namespace internal { +namespace v8 { +namespace internal { // ------------------------------------------------------------------------- // MarkCompactCollector @@ -471,7 +472,7 @@ void MarkCompactCollector::MarkMapContents(Map* map) { void MarkCompactCollector::MarkDescriptorArray( - DescriptorArray *descriptors) { + DescriptorArray* descriptors) { if (descriptors->IsMarked()) return; // Empty descriptor array is marked as a root before any maps are marked. ASSERT(descriptors != Heap::empty_descriptor_array()); @@ -871,7 +872,7 @@ void MarkCompactCollector::ClearNonLiveTransitions() { // clearing map transitions when necessary. current = map; bool on_dead_path = !current->IsMarked(); - Object *next; + Object* next; while (SafeIsMap(current)) { next = current->prototype(); // There should never be a dead map above a live map. |