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

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

Issue 181453002: Reset trunk to 3.24.35.4 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 6 years, 9 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/objects-inl.h ('k') | src/objects-visiting-inl.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 HeapObject::PrintHeader(out, "PolymorphicCodeCache"); 548 HeapObject::PrintHeader(out, "PolymorphicCodeCache");
549 PrintF(out, "\n - cache: "); 549 PrintF(out, "\n - cache: ");
550 cache()->ShortPrint(out); 550 cache()->ShortPrint(out);
551 } 551 }
552 552
553 553
554 void TypeFeedbackInfo::TypeFeedbackInfoPrint(FILE* out) { 554 void TypeFeedbackInfo::TypeFeedbackInfoPrint(FILE* out) {
555 HeapObject::PrintHeader(out, "TypeFeedbackInfo"); 555 HeapObject::PrintHeader(out, "TypeFeedbackInfo");
556 PrintF(out, " - ic_total_count: %d, ic_with_type_info_count: %d\n", 556 PrintF(out, " - ic_total_count: %d, ic_with_type_info_count: %d\n",
557 ic_total_count(), ic_with_type_info_count()); 557 ic_total_count(), ic_with_type_info_count());
558 PrintF(out, " - feedback_vector: "); 558 PrintF(out, " - type_feedback_cells: ");
559 feedback_vector()->FixedArrayPrint(out); 559 type_feedback_cells()->FixedArrayPrint(out);
560 } 560 }
561 561
562 562
563 void AliasedArgumentsEntry::AliasedArgumentsEntryPrint(FILE* out) { 563 void AliasedArgumentsEntry::AliasedArgumentsEntryPrint(FILE* out) {
564 HeapObject::PrintHeader(out, "AliasedArgumentsEntry"); 564 HeapObject::PrintHeader(out, "AliasedArgumentsEntry");
565 PrintF(out, "\n - aliased_context_slot: %d", aliased_context_slot()); 565 PrintF(out, "\n - aliased_context_slot: %d", aliased_context_slot());
566 } 566 }
567 567
568 568
569 void FixedArray::FixedArrayPrint(FILE* out) { 569 void FixedArray::FixedArrayPrint(FILE* out) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 void JSMessageObject::JSMessageObjectPrint(FILE* out) { 617 void JSMessageObject::JSMessageObjectPrint(FILE* out) {
618 HeapObject::PrintHeader(out, "JSMessageObject"); 618 HeapObject::PrintHeader(out, "JSMessageObject");
619 PrintF(out, " - type: "); 619 PrintF(out, " - type: ");
620 type()->ShortPrint(out); 620 type()->ShortPrint(out);
621 PrintF(out, "\n - arguments: "); 621 PrintF(out, "\n - arguments: ");
622 arguments()->ShortPrint(out); 622 arguments()->ShortPrint(out);
623 PrintF(out, "\n - start_position: %d", start_position()); 623 PrintF(out, "\n - start_position: %d", start_position());
624 PrintF(out, "\n - end_position: %d", end_position()); 624 PrintF(out, "\n - end_position: %d", end_position());
625 PrintF(out, "\n - script: "); 625 PrintF(out, "\n - script: ");
626 script()->ShortPrint(out); 626 script()->ShortPrint(out);
627 PrintF(out, "\n - stack_trace: ");
628 stack_trace()->ShortPrint(out);
627 PrintF(out, "\n - stack_frames: "); 629 PrintF(out, "\n - stack_frames: ");
628 stack_frames()->ShortPrint(out); 630 stack_frames()->ShortPrint(out);
629 PrintF(out, "\n"); 631 PrintF(out, "\n");
630 } 632 }
631 633
632 634
633 void String::StringPrint(FILE* out) { 635 void String::StringPrint(FILE* out) {
634 if (StringShape(this).IsInternalized()) { 636 if (StringShape(this).IsInternalized()) {
635 PrintF(out, "#"); 637 PrintF(out, "#");
636 } else if (StringShape(this).IsCons()) { 638 } else if (StringShape(this).IsCons()) {
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
1218 } 1220 }
1219 } 1221 }
1220 PrintF(out, "\n"); 1222 PrintF(out, "\n");
1221 } 1223 }
1222 1224
1223 1225
1224 #endif // OBJECT_PRINT 1226 #endif // OBJECT_PRINT
1225 1227
1226 1228
1227 } } // namespace v8::internal 1229 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/objects-visiting-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698