Index: src/heap.cc |
=================================================================== |
--- src/heap.cc (revision 11324) |
+++ src/heap.cc (working copy) |
@@ -6463,7 +6463,7 @@ |
ASSERT((search_target_ == kAnyGlobalObject) || |
search_target_->IsHeapObject()); |
found_target_in_trace_ = false; |
- object_stack_.Clear(); |
+ Reset(); |
MarkVisitor mark_visitor(this); |
MarkRecursively(root, &mark_visitor); |
@@ -6567,11 +6567,7 @@ |
for (int i = 0; i < object_stack_.length(); i++) { |
if (i > 0) PrintF("\n |\n |\n V\n\n"); |
Object* obj = object_stack_[i]; |
-#ifdef OBJECT_PRINT |
obj->Print(); |
-#else |
- obj->ShortPrint(); |
-#endif |
} |
PrintF("=====================================\n"); |
} |