Chromium Code Reviews| 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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 474 | 474 |
| 475 void PolymorphicCodeCache::PolymorphicCodeCachePrint( | 475 void PolymorphicCodeCache::PolymorphicCodeCachePrint( |
| 476 std::ostream& os) { // NOLINT | 476 std::ostream& os) { // NOLINT |
| 477 HeapObject::PrintHeader(os, "PolymorphicCodeCache"); | 477 HeapObject::PrintHeader(os, "PolymorphicCodeCache"); |
| 478 os << "\n - cache: " << Brief(cache()); | 478 os << "\n - cache: " << Brief(cache()); |
| 479 } | 479 } |
| 480 | 480 |
| 481 | 481 |
| 482 void TypeFeedbackInfo::TypeFeedbackInfoPrint(std::ostream& os) { // NOLINT | 482 void TypeFeedbackInfo::TypeFeedbackInfoPrint(std::ostream& os) { // NOLINT |
| 483 HeapObject::PrintHeader(os, "TypeFeedbackInfo"); | 483 HeapObject::PrintHeader(os, "TypeFeedbackInfo"); |
| 484 os << " - ic_total_count: " << ic_total_count() | 484 os << "feedback_vector: " << Brief(feedback_vector()); |
| 485 os << "\n - ic_total_count: " << ic_total_count() | |
|
Jakob Kummerow
2014/10/14 15:27:20
nit: no need to repeat "os", just keep streaming (
mvstanton
2014/10/16 10:54:14
Done.
| |
| 485 << ", ic_with_type_info_count: " << ic_with_type_info_count() | 486 << ", ic_with_type_info_count: " << ic_with_type_info_count() |
| 486 << ", ic_generic_count: " << ic_generic_count() << "\n"; | 487 << ", ic_generic_count: " << ic_generic_count() << "\n"; |
| 487 } | 488 } |
| 488 | 489 |
| 489 | 490 |
| 490 void AliasedArgumentsEntry::AliasedArgumentsEntryPrint( | 491 void AliasedArgumentsEntry::AliasedArgumentsEntryPrint( |
| 491 std::ostream& os) { // NOLINT | 492 std::ostream& os) { // NOLINT |
| 492 HeapObject::PrintHeader(os, "AliasedArgumentsEntry"); | 493 HeapObject::PrintHeader(os, "AliasedArgumentsEntry"); |
| 493 os << "\n - aliased_context_slot: " << aliased_context_slot(); | 494 os << "\n - aliased_context_slot: " << aliased_context_slot(); |
| 494 } | 495 } |
| (...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1109 } | 1110 } |
| 1110 } | 1111 } |
| 1111 os << "\n"; | 1112 os << "\n"; |
| 1112 } | 1113 } |
| 1113 | 1114 |
| 1114 | 1115 |
| 1115 #endif // OBJECT_PRINT | 1116 #endif // OBJECT_PRINT |
| 1116 | 1117 |
| 1117 | 1118 |
| 1118 } } // namespace v8::internal | 1119 } } // namespace v8::internal |
| OLD | NEW |