Revision: 6997 Author: [email protected] Date: Tue Mar 1 06:49:07 2011 Log: 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 http://code.google.com/p/v8/source/detail?r=6997 Modified: /branches/bleeding_edge/src/heap.cc ======================================= --- /branches/bleeding_edge/src/heap.cc Tue Feb 22 08:31:24 2011 +++ /branches/bleeding_edge/src/heap.cc Tue Mar 1 06:49:07 2011 @@ -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
