| 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/interpreter/bytecodes.h" | 10 #include "src/interpreter/bytecodes.h" |
| (...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 960 void Box::BoxPrint(std::ostream& os) { // NOLINT | 960 void Box::BoxPrint(std::ostream& os) { // NOLINT |
| 961 HeapObject::PrintHeader(os, "Box"); | 961 HeapObject::PrintHeader(os, "Box"); |
| 962 os << "\n - value: " << Brief(value()); | 962 os << "\n - value: " << Brief(value()); |
| 963 os << "\n"; | 963 os << "\n"; |
| 964 } | 964 } |
| 965 | 965 |
| 966 | 966 |
| 967 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT | 967 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT |
| 968 HeapObject::PrintHeader(os, "PrototypeInfo"); | 968 HeapObject::PrintHeader(os, "PrototypeInfo"); |
| 969 os << "\n - prototype users: " << Brief(prototype_users()); | 969 os << "\n - prototype users: " << Brief(prototype_users()); |
| 970 os << "\n - registry slot: " << registry_slot(); |
| 970 os << "\n - validity cell: " << Brief(validity_cell()); | 971 os << "\n - validity cell: " << Brief(validity_cell()); |
| 971 os << "\n - constructor name: " << Brief(constructor_name()); | 972 os << "\n - constructor name: " << Brief(constructor_name()); |
| 972 os << "\n"; | 973 os << "\n"; |
| 973 } | 974 } |
| 974 | 975 |
| 975 | 976 |
| 976 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT | 977 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT |
| 977 HeapObject::PrintHeader(os, "AccessorPair"); | 978 HeapObject::PrintHeader(os, "AccessorPair"); |
| 978 os << "\n - getter: " << Brief(getter()); | 979 os << "\n - getter: " << Brief(getter()); |
| 979 os << "\n - setter: " << Brief(setter()); | 980 os << "\n - setter: " << Brief(setter()); |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1290 } | 1291 } |
| 1291 } | 1292 } |
| 1292 | 1293 |
| 1293 | 1294 |
| 1294 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT | 1295 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT |
| 1295 TransitionArray::PrintTransitions(os, map()->raw_transitions()); | 1296 TransitionArray::PrintTransitions(os, map()->raw_transitions()); |
| 1296 } | 1297 } |
| 1297 #endif // defined(DEBUG) || defined(OBJECT_PRINT) | 1298 #endif // defined(DEBUG) || defined(OBJECT_PRINT) |
| 1298 } // namespace internal | 1299 } // namespace internal |
| 1299 } // namespace v8 | 1300 } // namespace v8 |
| OLD | NEW |