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

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

Issue 137403009: Adding a type vector to replace type cells. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Smarter vector allocation and refactoring. Created 6 years, 11 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
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 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 HeapObject::PrintHeader(out, "PolymorphicCodeCache"); 612 HeapObject::PrintHeader(out, "PolymorphicCodeCache");
613 PrintF(out, "\n - cache: "); 613 PrintF(out, "\n - cache: ");
614 cache()->ShortPrint(out); 614 cache()->ShortPrint(out);
615 } 615 }
616 616
617 617
618 void TypeFeedbackInfo::TypeFeedbackInfoPrint(FILE* out) { 618 void TypeFeedbackInfo::TypeFeedbackInfoPrint(FILE* out) {
619 HeapObject::PrintHeader(out, "TypeFeedbackInfo"); 619 HeapObject::PrintHeader(out, "TypeFeedbackInfo");
620 PrintF(out, " - ic_total_count: %d, ic_with_type_info_count: %d\n", 620 PrintF(out, " - ic_total_count: %d, ic_with_type_info_count: %d\n",
621 ic_total_count(), ic_with_type_info_count()); 621 ic_total_count(), ic_with_type_info_count());
622 PrintF(out, " - type_feedback_cells: "); 622 PrintF(out, " - feedback_vector: ");
623 type_feedback_cells()->FixedArrayPrint(out); 623 feedback_vector()->FixedArrayPrint(out);
624 } 624 }
625 625
626 626
627 void AliasedArgumentsEntry::AliasedArgumentsEntryPrint(FILE* out) { 627 void AliasedArgumentsEntry::AliasedArgumentsEntryPrint(FILE* out) {
628 HeapObject::PrintHeader(out, "AliasedArgumentsEntry"); 628 HeapObject::PrintHeader(out, "AliasedArgumentsEntry");
629 PrintF(out, "\n - aliased_context_slot: %d", aliased_context_slot()); 629 PrintF(out, "\n - aliased_context_slot: %d", aliased_context_slot());
630 } 630 }
631 631
632 632
633 void FixedArray::FixedArrayPrint(FILE* out) { 633 void FixedArray::FixedArrayPrint(FILE* out) {
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 } 1284 }
1285 } 1285 }
1286 PrintF(out, "\n"); 1286 PrintF(out, "\n");
1287 } 1287 }
1288 1288
1289 1289
1290 #endif // OBJECT_PRINT 1290 #endif // OBJECT_PRINT
1291 1291
1292 1292
1293 } } // namespace v8::internal 1293 } } // namespace v8::internal
OLDNEW
« src/ia32/code-stubs-ia32.cc ('K') | « 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