Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: src/objects-printer.cc

Issue 6901026: Fix compilation with debuggersupport=off. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: added isolate-inl.h Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/liveedit.cc ('k') | src/runtime.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 case JS_VALUE_TYPE: return "JS_VALUE"; 412 case JS_VALUE_TYPE: return "JS_VALUE";
413 case JS_GLOBAL_OBJECT_TYPE: return "JS_GLOBAL_OBJECT"; 413 case JS_GLOBAL_OBJECT_TYPE: return "JS_GLOBAL_OBJECT";
414 case JS_BUILTINS_OBJECT_TYPE: return "JS_BUILTINS_OBJECT"; 414 case JS_BUILTINS_OBJECT_TYPE: return "JS_BUILTINS_OBJECT";
415 case JS_GLOBAL_PROXY_TYPE: return "JS_GLOBAL_PROXY"; 415 case JS_GLOBAL_PROXY_TYPE: return "JS_GLOBAL_PROXY";
416 case PROXY_TYPE: return "PROXY"; 416 case PROXY_TYPE: return "PROXY";
417 case LAST_STRING_TYPE: return "LAST_STRING_TYPE"; 417 case LAST_STRING_TYPE: return "LAST_STRING_TYPE";
418 case JS_MESSAGE_OBJECT_TYPE: return "JS_MESSAGE_OBJECT_TYPE"; 418 case JS_MESSAGE_OBJECT_TYPE: return "JS_MESSAGE_OBJECT_TYPE";
419 #define MAKE_STRUCT_CASE(NAME, Name, name) case NAME##_TYPE: return #NAME; 419 #define MAKE_STRUCT_CASE(NAME, Name, name) case NAME##_TYPE: return #NAME;
420 STRUCT_LIST(MAKE_STRUCT_CASE) 420 STRUCT_LIST(MAKE_STRUCT_CASE)
421 #undef MAKE_STRUCT_CASE 421 #undef MAKE_STRUCT_CASE
422 default: return "UNKNOWN";
422 } 423 }
423 return "UNKNOWN";
424 } 424 }
425 425
426 426
427 void Map::MapPrint(FILE* out) { 427 void Map::MapPrint(FILE* out) {
428 HeapObject::PrintHeader(out, "Map"); 428 HeapObject::PrintHeader(out, "Map");
429 PrintF(out, " - type: %s\n", TypeToString(instance_type())); 429 PrintF(out, " - type: %s\n", TypeToString(instance_type()));
430 PrintF(out, " - instance size: %d\n", instance_size()); 430 PrintF(out, " - instance size: %d\n", instance_size());
431 PrintF(out, " - inobject properties: %d\n", inobject_properties()); 431 PrintF(out, " - inobject properties: %d\n", inobject_properties());
432 PrintF(out, " - pre-allocated property fields: %d\n", 432 PrintF(out, " - pre-allocated property fields: %d\n",
433 pre_allocated_property_fields()); 433 pre_allocated_property_fields());
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 desc.Print(out); 808 desc.Print(out);
809 } 809 }
810 PrintF(out, "\n"); 810 PrintF(out, "\n");
811 } 811 }
812 812
813 813
814 #endif // OBJECT_PRINT 814 #endif // OBJECT_PRINT
815 815
816 816
817 } } // namespace v8::internal 817 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/liveedit.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698