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

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

Issue 10833049: Print type feedback info together with code objects. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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.cc ('k') | no next file » | 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 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 589
590 void PolymorphicCodeCache::PolymorphicCodeCachePrint(FILE* out) { 590 void PolymorphicCodeCache::PolymorphicCodeCachePrint(FILE* out) {
591 HeapObject::PrintHeader(out, "PolymorphicCodeCache"); 591 HeapObject::PrintHeader(out, "PolymorphicCodeCache");
592 PrintF(out, "\n - cache: "); 592 PrintF(out, "\n - cache: ");
593 cache()->ShortPrint(out); 593 cache()->ShortPrint(out);
594 } 594 }
595 595
596 596
597 void TypeFeedbackInfo::TypeFeedbackInfoPrint(FILE* out) { 597 void TypeFeedbackInfo::TypeFeedbackInfoPrint(FILE* out) {
598 HeapObject::PrintHeader(out, "TypeFeedbackInfo"); 598 HeapObject::PrintHeader(out, "TypeFeedbackInfo");
599 PrintF(out, "\n - ic_total_count: %d, ic_with_type_info_count: %d", 599 PrintF(out, " - ic_total_count: %d, ic_with_type_info_count: %d\n",
600 ic_total_count(), ic_with_type_info_count()); 600 ic_total_count(), ic_with_type_info_count());
601 PrintF(out, "\n - type_feedback_cells: "); 601 PrintF(out, " - type_feedback_cells: ");
602 type_feedback_cells()->FixedArrayPrint(out); 602 type_feedback_cells()->FixedArrayPrint(out);
603 } 603 }
604 604
605 605
606 void AliasedArgumentsEntry::AliasedArgumentsEntryPrint(FILE* out) { 606 void AliasedArgumentsEntry::AliasedArgumentsEntryPrint(FILE* out) {
607 HeapObject::PrintHeader(out, "AliasedArgumentsEntry"); 607 HeapObject::PrintHeader(out, "AliasedArgumentsEntry");
608 PrintF(out, "\n - aliased_context_slot: %d", aliased_context_slot()); 608 PrintF(out, "\n - aliased_context_slot: %d", aliased_context_slot());
609 } 609 }
610 610
611 611
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
1083 } 1083 }
1084 } 1084 }
1085 PrintF(out, "\n"); 1085 PrintF(out, "\n");
1086 } 1086 }
1087 1087
1088 1088
1089 #endif // OBJECT_PRINT 1089 #endif // OBJECT_PRINT
1090 1090
1091 1091
1092 } } // namespace v8::internal 1092 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698