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 << " - private: " << is_private(); | 433 os << "\n - private: " << is_private(); |
| 434 os << "\n - own: " << is_own(); |
434 os << "\n"; | 435 os << "\n"; |
435 } | 436 } |
436 | 437 |
437 | 438 |
438 void Map::MapPrint(OStream& os) { // NOLINT | 439 void Map::MapPrint(OStream& os) { // NOLINT |
439 HeapObject::PrintHeader(os, "Map"); | 440 HeapObject::PrintHeader(os, "Map"); |
440 os << " - type: " << TypeToString(instance_type()) << "\n"; | 441 os << " - type: " << TypeToString(instance_type()) << "\n"; |
441 os << " - instance size: " << instance_size() << "\n"; | 442 os << " - instance size: " << instance_size() << "\n"; |
442 os << " - inobject properties: " << inobject_properties() << "\n"; | 443 os << " - inobject properties: " << inobject_properties() << "\n"; |
443 os << " - elements kind: " << ElementsKindToString(elements_kind()); | 444 os << " - elements kind: " << ElementsKindToString(elements_kind()); |
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1112 } | 1113 } |
1113 } | 1114 } |
1114 os << "\n"; | 1115 os << "\n"; |
1115 } | 1116 } |
1116 | 1117 |
1117 | 1118 |
1118 #endif // OBJECT_PRINT | 1119 #endif // OBJECT_PRINT |
1119 | 1120 |
1120 | 1121 |
1121 } } // namespace v8::internal | 1122 } } // namespace v8::internal |
OLD | NEW |