| 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 831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 842 void Box::BoxPrint(std::ostream& os) { // NOLINT | 842 void Box::BoxPrint(std::ostream& os) { // NOLINT |
| 843 HeapObject::PrintHeader(os, "Box"); | 843 HeapObject::PrintHeader(os, "Box"); |
| 844 os << "\n - value: " << Brief(value()); | 844 os << "\n - value: " << Brief(value()); |
| 845 os << "\n"; | 845 os << "\n"; |
| 846 } | 846 } |
| 847 | 847 |
| 848 | 848 |
| 849 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT | 849 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT |
| 850 HeapObject::PrintHeader(os, "PrototypeInfo"); | 850 HeapObject::PrintHeader(os, "PrototypeInfo"); |
| 851 os << "\n - prototype users: " << Brief(prototype_users()); | 851 os << "\n - prototype users: " << Brief(prototype_users()); |
| 852 os << "\n - registry slot: " << registry_slot(); |
| 852 os << "\n - validity cell: " << Brief(validity_cell()); | 853 os << "\n - validity cell: " << Brief(validity_cell()); |
| 853 os << "\n - constructor name: " << Brief(constructor_name()); | 854 os << "\n - constructor name: " << Brief(constructor_name()); |
| 854 os << "\n"; | 855 os << "\n"; |
| 855 } | 856 } |
| 856 | 857 |
| 857 | 858 |
| 858 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT | 859 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT |
| 859 HeapObject::PrintHeader(os, "AccessorPair"); | 860 HeapObject::PrintHeader(os, "AccessorPair"); |
| 860 os << "\n - getter: " << Brief(getter()); | 861 os << "\n - getter: " << Brief(getter()); |
| 861 os << "\n - setter: " << Brief(setter()); | 862 os << "\n - setter: " << Brief(setter()); |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1173 } | 1174 } |
| 1174 } | 1175 } |
| 1175 | 1176 |
| 1176 | 1177 |
| 1177 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT | 1178 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT |
| 1178 TransitionArray::PrintTransitions(os, map()->raw_transitions()); | 1179 TransitionArray::PrintTransitions(os, map()->raw_transitions()); |
| 1179 } | 1180 } |
| 1180 #endif // defined(DEBUG) || defined(OBJECT_PRINT) | 1181 #endif // defined(DEBUG) || defined(OBJECT_PRINT) |
| 1181 } // namespace internal | 1182 } // namespace internal |
| 1182 } // namespace v8 | 1183 } // namespace v8 |
| OLD | NEW |