Reviewers: Mikhail Naganov (Chromium),
Message:
Small fix for an oversight from previous refactoring of this code. Please
take
a look. Thanks.
Description:
Small fix for when not building with OBJECT_PRINT defined.
Please review this at http://codereview.chromium.org/6602034/
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/heap.cc
Index: src/heap.cc
===================================================================
--- src/heap.cc (revision 6994)
+++ src/heap.cc (working copy)
@@ -5336,7 +5336,11 @@
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");
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev