diff options
author | Ryan <ry@tinyclouds.org> | 2009-06-08 18:34:06 +0200 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-06-08 18:34:06 +0200 |
commit | 696f02455792b368249bf9b013dde637b5ec31fd (patch) | |
tree | 95b2dbd6c2537df9df52f6627aac36fcf05f6a7a /deps/v8/src/mark-compact.cc | |
parent | f6a7fe26574defaa807a13248102ebe0f23270af (diff) | |
download | node-696f02455792b368249bf9b013dde637b5ec31fd.tar.gz |
Upgrade to v8 1.2.7
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. |