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

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: Addressed feedback. Created 6 years, 10 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, " - type_feedback_cells: "); 558 PrintF(out, " - feedback_vector: ");
559 type_feedback_cells()->FixedArrayPrint(out); 559 feedback_vector()->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 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
1220 } 1220 }
1221 } 1221 }
1222 PrintF(out, "\n"); 1222 PrintF(out, "\n");
1223 } 1223 }
1224 1224
1225 1225
1226 #endif // OBJECT_PRINT 1226 #endif // OBJECT_PRINT
1227 1227
1228 1228
1229 } } // 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