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 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
877 void Box::BoxPrint(std::ostream& os) { // NOLINT | 877 void Box::BoxPrint(std::ostream& os) { // NOLINT |
878 HeapObject::PrintHeader(os, "Box"); | 878 HeapObject::PrintHeader(os, "Box"); |
879 os << "\n - value: " << Brief(value()); | 879 os << "\n - value: " << Brief(value()); |
880 os << "\n"; | 880 os << "\n"; |
881 } | 881 } |
882 | 882 |
883 | 883 |
884 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT | 884 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT |
885 HeapObject::PrintHeader(os, "PrototypeInfo"); | 885 HeapObject::PrintHeader(os, "PrototypeInfo"); |
886 os << "\n - prototype users: " << Brief(prototype_users()); | 886 os << "\n - prototype users: " << Brief(prototype_users()); |
| 887 os << "\n - registry slot: " << registry_slot(); |
887 os << "\n - validity cell: " << Brief(validity_cell()); | 888 os << "\n - validity cell: " << Brief(validity_cell()); |
888 os << "\n - constructor name: " << Brief(constructor_name()); | 889 os << "\n - constructor name: " << Brief(constructor_name()); |
889 os << "\n"; | 890 os << "\n"; |
890 } | 891 } |
891 | 892 |
892 | 893 |
893 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT | 894 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT |
894 HeapObject::PrintHeader(os, "AccessorPair"); | 895 HeapObject::PrintHeader(os, "AccessorPair"); |
895 os << "\n - getter: " << Brief(getter()); | 896 os << "\n - getter: " << Brief(getter()); |
896 os << "\n - setter: " << Brief(setter()); | 897 os << "\n - setter: " << Brief(setter()); |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1206 os << " -> " << Brief(target) << "\n"; | 1207 os << " -> " << Brief(target) << "\n"; |
1207 } | 1208 } |
1208 } | 1209 } |
1209 | 1210 |
1210 | 1211 |
1211 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT | 1212 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT |
1212 TransitionArray::PrintTransitions(os, map()->raw_transitions()); | 1213 TransitionArray::PrintTransitions(os, map()->raw_transitions()); |
1213 } | 1214 } |
1214 #endif // defined(DEBUG) || defined(OBJECT_PRINT) | 1215 #endif // defined(DEBUG) || defined(OBJECT_PRINT) |
1215 } } // namespace v8::internal | 1216 } } // namespace v8::internal |
OLD | NEW |