OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/disasm.h" | 7 #include "src/disasm.h" |
8 #include "src/disassembler.h" | 8 #include "src/disassembler.h" |
9 #include "src/heap/objects-visiting.h" | 9 #include "src/heap/objects-visiting.h" |
10 #include "src/jsregexp.h" | 10 #include "src/jsregexp.h" |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 | 477 |
478 void PolymorphicCodeCache::PolymorphicCodeCachePrint( | 478 void PolymorphicCodeCache::PolymorphicCodeCachePrint( |
479 std::ostream& os) { // NOLINT | 479 std::ostream& os) { // NOLINT |
480 HeapObject::PrintHeader(os, "PolymorphicCodeCache"); | 480 HeapObject::PrintHeader(os, "PolymorphicCodeCache"); |
481 os << "\n - cache: " << Brief(cache()); | 481 os << "\n - cache: " << Brief(cache()); |
482 } | 482 } |
483 | 483 |
484 | 484 |
485 void TypeFeedbackInfo::TypeFeedbackInfoPrint(std::ostream& os) { // NOLINT | 485 void TypeFeedbackInfo::TypeFeedbackInfoPrint(std::ostream& os) { // NOLINT |
486 HeapObject::PrintHeader(os, "TypeFeedbackInfo"); | 486 HeapObject::PrintHeader(os, "TypeFeedbackInfo"); |
487 os << " - ic_total_count: " << ic_total_count() | 487 os << "\n - ic_total_count: " << ic_total_count() |
488 << ", ic_with_type_info_count: " << ic_with_type_info_count() | 488 << ", ic_with_type_info_count: " << ic_with_type_info_count() |
489 << ", ic_generic_count: " << ic_generic_count() << "\n"; | 489 << ", ic_generic_count: " << ic_generic_count() << "\n"; |
490 } | 490 } |
491 | 491 |
492 | 492 |
493 void AliasedArgumentsEntry::AliasedArgumentsEntryPrint( | 493 void AliasedArgumentsEntry::AliasedArgumentsEntryPrint( |
494 std::ostream& os) { // NOLINT | 494 std::ostream& os) { // NOLINT |
495 HeapObject::PrintHeader(os, "AliasedArgumentsEntry"); | 495 HeapObject::PrintHeader(os, "AliasedArgumentsEntry"); |
496 os << "\n - aliased_context_slot: " << aliased_context_slot(); | 496 os << "\n - aliased_context_slot: " << aliased_context_slot(); |
497 } | 497 } |
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1117 } | 1117 } |
1118 } | 1118 } |
1119 os << "\n"; | 1119 os << "\n"; |
1120 } | 1120 } |
1121 | 1121 |
1122 | 1122 |
1123 #endif // OBJECT_PRINT | 1123 #endif // OBJECT_PRINT |
1124 | 1124 |
1125 | 1125 |
1126 } } // namespace v8::internal | 1126 } } // namespace v8::internal |
OLD | NEW |