Small fix for when not building with OBJECT_PRINT defined.

Patch by Mark Lam from Hewlett-Packard Development Company, LP

Review URL: http://codereview.chromium.org/6602034

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6997 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 4cac2c91
...@@ -5336,7 +5336,11 @@ void PathTracer::ProcessResults() { ...@@ -5336,7 +5336,11 @@ void PathTracer::ProcessResults() {
for (int i = 0; i < object_stack_.length(); i++) { for (int i = 0; i < object_stack_.length(); i++) {
if (i > 0) PrintF("\n |\n |\n V\n\n"); if (i > 0) PrintF("\n |\n |\n V\n\n");
Object* obj = object_stack_[i]; Object* obj = object_stack_[i];
#ifdef OBJECT_PRINT
obj->Print(); obj->Print();
#else
obj->ShortPrint();
#endif
} }
PrintF("=====================================\n"); PrintF("=====================================\n");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment