| 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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 } | 423 } |
| 424 UNREACHABLE(); | 424 UNREACHABLE(); |
| 425 return "UNKNOWN"; // Keep the compiler happy. | 425 return "UNKNOWN"; // Keep the compiler happy. |
| 426 } | 426 } |
| 427 | 427 |
| 428 | 428 |
| 429 void Symbol::SymbolPrint(OStream& os) { // NOLINT | 429 void Symbol::SymbolPrint(OStream& os) { // NOLINT |
| 430 HeapObject::PrintHeader(os, "Symbol"); | 430 HeapObject::PrintHeader(os, "Symbol"); |
| 431 os << " - hash: " << Hash(); | 431 os << " - hash: " << Hash(); |
| 432 os << "\n - name: " << Brief(name()); | 432 os << "\n - name: " << Brief(name()); |
| 433 os << "\n - private: " << is_private(); | 433 os << " - private: " << is_private(); |
| 434 os << "\n - own: " << is_own(); | |
| 435 os << "\n"; | 434 os << "\n"; |
| 436 } | 435 } |
| 437 | 436 |
| 438 | 437 |
| 439 void Map::MapPrint(OStream& os) { // NOLINT | 438 void Map::MapPrint(OStream& os) { // NOLINT |
| 440 HeapObject::PrintHeader(os, "Map"); | 439 HeapObject::PrintHeader(os, "Map"); |
| 441 os << " - type: " << TypeToString(instance_type()) << "\n"; | 440 os << " - type: " << TypeToString(instance_type()) << "\n"; |
| 442 os << " - instance size: " << instance_size() << "\n"; | 441 os << " - instance size: " << instance_size() << "\n"; |
| 443 os << " - inobject properties: " << inobject_properties() << "\n"; | 442 os << " - inobject properties: " << inobject_properties() << "\n"; |
| 444 os << " - elements kind: " << ElementsKindToString(elements_kind()); | 443 os << " - elements kind: " << ElementsKindToString(elements_kind()); |
| (...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1113 } | 1112 } |
| 1114 } | 1113 } |
| 1115 os << "\n"; | 1114 os << "\n"; |
| 1116 } | 1115 } |
| 1117 | 1116 |
| 1118 | 1117 |
| 1119 #endif // OBJECT_PRINT | 1118 #endif // OBJECT_PRINT |
| 1120 | 1119 |
| 1121 | 1120 |
| 1122 } } // namespace v8::internal | 1121 } } // namespace v8::internal |
| OLD | NEW |