OLD | NEW |
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 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 HeapObject::PrintHeader(out, "PolymorphicCodeCache"); | 559 HeapObject::PrintHeader(out, "PolymorphicCodeCache"); |
560 PrintF(out, "\n - cache: "); | 560 PrintF(out, "\n - cache: "); |
561 cache()->ShortPrint(out); | 561 cache()->ShortPrint(out); |
562 } | 562 } |
563 | 563 |
564 | 564 |
565 void TypeFeedbackInfo::TypeFeedbackInfoPrint(FILE* out) { | 565 void TypeFeedbackInfo::TypeFeedbackInfoPrint(FILE* out) { |
566 HeapObject::PrintHeader(out, "TypeFeedbackInfo"); | 566 HeapObject::PrintHeader(out, "TypeFeedbackInfo"); |
567 PrintF(out, " - ic_total_count: %d, ic_with_type_info_count: %d\n", | 567 PrintF(out, " - ic_total_count: %d, ic_with_type_info_count: %d\n", |
568 ic_total_count(), ic_with_type_info_count()); | 568 ic_total_count(), ic_with_type_info_count()); |
569 PrintF(out, " - feedback_vector: "); | |
570 feedback_vector()->FixedArrayPrint(out); | |
571 } | 569 } |
572 | 570 |
573 | 571 |
574 void AliasedArgumentsEntry::AliasedArgumentsEntryPrint(FILE* out) { | 572 void AliasedArgumentsEntry::AliasedArgumentsEntryPrint(FILE* out) { |
575 HeapObject::PrintHeader(out, "AliasedArgumentsEntry"); | 573 HeapObject::PrintHeader(out, "AliasedArgumentsEntry"); |
576 PrintF(out, "\n - aliased_context_slot: %d", aliased_context_slot()); | 574 PrintF(out, "\n - aliased_context_slot: %d", aliased_context_slot()); |
577 } | 575 } |
578 | 576 |
579 | 577 |
580 void FixedArray::FixedArrayPrint(FILE* out) { | 578 void FixedArray::FixedArrayPrint(FILE* out) { |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
871 // script()->Print(out); | 869 // script()->Print(out); |
872 PrintF(out, "\n - function token position = %d", function_token_position()); | 870 PrintF(out, "\n - function token position = %d", function_token_position()); |
873 PrintF(out, "\n - start position = %d", start_position()); | 871 PrintF(out, "\n - start position = %d", start_position()); |
874 PrintF(out, "\n - end position = %d", end_position()); | 872 PrintF(out, "\n - end position = %d", end_position()); |
875 PrintF(out, "\n - is expression = %d", is_expression()); | 873 PrintF(out, "\n - is expression = %d", is_expression()); |
876 PrintF(out, "\n - debug info = "); | 874 PrintF(out, "\n - debug info = "); |
877 debug_info()->ShortPrint(out); | 875 debug_info()->ShortPrint(out); |
878 PrintF(out, "\n - length = %d", length()); | 876 PrintF(out, "\n - length = %d", length()); |
879 PrintF(out, "\n - optimized_code_map = "); | 877 PrintF(out, "\n - optimized_code_map = "); |
880 optimized_code_map()->ShortPrint(out); | 878 optimized_code_map()->ShortPrint(out); |
| 879 PrintF(out, "\n - feedback_vector = "); |
| 880 feedback_vector()->FixedArrayPrint(out); |
881 PrintF(out, "\n"); | 881 PrintF(out, "\n"); |
882 } | 882 } |
883 | 883 |
884 | 884 |
885 void JSGlobalProxy::JSGlobalProxyPrint(FILE* out) { | 885 void JSGlobalProxy::JSGlobalProxyPrint(FILE* out) { |
886 PrintF(out, "global_proxy "); | 886 PrintF(out, "global_proxy "); |
887 JSObjectPrint(out); | 887 JSObjectPrint(out); |
888 PrintF(out, "native context : "); | 888 PrintF(out, "native context : "); |
889 native_context()->ShortPrint(out); | 889 native_context()->ShortPrint(out); |
890 PrintF(out, "\n"); | 890 PrintF(out, "\n"); |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1227 } | 1227 } |
1228 } | 1228 } |
1229 PrintF(out, "\n"); | 1229 PrintF(out, "\n"); |
1230 } | 1230 } |
1231 | 1231 |
1232 | 1232 |
1233 #endif // OBJECT_PRINT | 1233 #endif // OBJECT_PRINT |
1234 | 1234 |
1235 | 1235 |
1236 } } // namespace v8::internal | 1236 } } // namespace v8::internal |
OLD | NEW |