| 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); |
| 569 } | 571 } |
| 570 | 572 |
| 571 | 573 |
| 572 void AliasedArgumentsEntry::AliasedArgumentsEntryPrint(FILE* out) { | 574 void AliasedArgumentsEntry::AliasedArgumentsEntryPrint(FILE* out) { |
| 573 HeapObject::PrintHeader(out, "AliasedArgumentsEntry"); | 575 HeapObject::PrintHeader(out, "AliasedArgumentsEntry"); |
| 574 PrintF(out, "\n - aliased_context_slot: %d", aliased_context_slot()); | 576 PrintF(out, "\n - aliased_context_slot: %d", aliased_context_slot()); |
| 575 } | 577 } |
| 576 | 578 |
| 577 | 579 |
| 578 void FixedArray::FixedArrayPrint(FILE* out) { | 580 void FixedArray::FixedArrayPrint(FILE* out) { |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 872 // script()->Print(out); | 874 // script()->Print(out); |
| 873 PrintF(out, "\n - function token position = %d", function_token_position()); | 875 PrintF(out, "\n - function token position = %d", function_token_position()); |
| 874 PrintF(out, "\n - start position = %d", start_position()); | 876 PrintF(out, "\n - start position = %d", start_position()); |
| 875 PrintF(out, "\n - end position = %d", end_position()); | 877 PrintF(out, "\n - end position = %d", end_position()); |
| 876 PrintF(out, "\n - is expression = %d", is_expression()); | 878 PrintF(out, "\n - is expression = %d", is_expression()); |
| 877 PrintF(out, "\n - debug info = "); | 879 PrintF(out, "\n - debug info = "); |
| 878 debug_info()->ShortPrint(out); | 880 debug_info()->ShortPrint(out); |
| 879 PrintF(out, "\n - length = %d", length()); | 881 PrintF(out, "\n - length = %d", length()); |
| 880 PrintF(out, "\n - optimized_code_map = "); | 882 PrintF(out, "\n - optimized_code_map = "); |
| 881 optimized_code_map()->ShortPrint(out); | 883 optimized_code_map()->ShortPrint(out); |
| 882 PrintF(out, "\n - feedback_vector = "); | |
| 883 feedback_vector()->FixedArrayPrint(out); | |
| 884 PrintF(out, "\n"); | 884 PrintF(out, "\n"); |
| 885 } | 885 } |
| 886 | 886 |
| 887 | 887 |
| 888 void JSGlobalProxy::JSGlobalProxyPrint(FILE* out) { | 888 void JSGlobalProxy::JSGlobalProxyPrint(FILE* out) { |
| 889 PrintF(out, "global_proxy "); | 889 PrintF(out, "global_proxy "); |
| 890 JSObjectPrint(out); | 890 JSObjectPrint(out); |
| 891 PrintF(out, "native context : "); | 891 PrintF(out, "native context : "); |
| 892 native_context()->ShortPrint(out); | 892 native_context()->ShortPrint(out); |
| 893 PrintF(out, "\n"); | 893 PrintF(out, "\n"); |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1230 } | 1230 } |
| 1231 } | 1231 } |
| 1232 PrintF(out, "\n"); | 1232 PrintF(out, "\n"); |
| 1233 } | 1233 } |
| 1234 | 1234 |
| 1235 | 1235 |
| 1236 #endif // OBJECT_PRINT | 1236 #endif // OBJECT_PRINT |
| 1237 | 1237 |
| 1238 | 1238 |
| 1239 } } // namespace v8::internal | 1239 } } // namespace v8::internal |
| OLD | NEW |