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/interpreter/bytecodes.h" | 9 #include "src/interpreter/bytecodes.h" |
10 #include "src/ostreams.h" | 10 #include "src/ostreams.h" |
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
959 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT | 959 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT |
960 HeapObject::PrintHeader(os, "PrototypeInfo"); | 960 HeapObject::PrintHeader(os, "PrototypeInfo"); |
961 os << "\n - prototype users: " << Brief(prototype_users()); | 961 os << "\n - prototype users: " << Brief(prototype_users()); |
962 os << "\n - registry slot: " << registry_slot(); | 962 os << "\n - registry slot: " << registry_slot(); |
963 os << "\n - validity cell: " << Brief(validity_cell()); | 963 os << "\n - validity cell: " << Brief(validity_cell()); |
964 os << "\n - constructor name: " << Brief(constructor_name()); | 964 os << "\n - constructor name: " << Brief(constructor_name()); |
965 os << "\n"; | 965 os << "\n"; |
966 } | 966 } |
967 | 967 |
968 | 968 |
| 969 void SloppyBlockWithEvalContextExtension:: |
| 970 SloppyBlockWithEvalContextExtensionPrint(std::ostream& os) { // NOLINT |
| 971 HeapObject::PrintHeader(os, "SloppyBlockWithEvalContextExtension"); |
| 972 os << "\n - scope_info: " << Brief(scope_info()); |
| 973 os << "\n - extension: " << Brief(extension()); |
| 974 os << "\n"; |
| 975 } |
| 976 |
| 977 |
969 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT | 978 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT |
970 HeapObject::PrintHeader(os, "AccessorPair"); | 979 HeapObject::PrintHeader(os, "AccessorPair"); |
971 os << "\n - getter: " << Brief(getter()); | 980 os << "\n - getter: " << Brief(getter()); |
972 os << "\n - setter: " << Brief(setter()); | 981 os << "\n - setter: " << Brief(setter()); |
973 os << "\n"; | 982 os << "\n"; |
974 } | 983 } |
975 | 984 |
976 | 985 |
977 void AccessCheckInfo::AccessCheckInfoPrint(std::ostream& os) { // NOLINT | 986 void AccessCheckInfo::AccessCheckInfoPrint(std::ostream& os) { // NOLINT |
978 HeapObject::PrintHeader(os, "AccessCheckInfo"); | 987 HeapObject::PrintHeader(os, "AccessCheckInfo"); |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1283 } | 1292 } |
1284 } | 1293 } |
1285 | 1294 |
1286 | 1295 |
1287 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT | 1296 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT |
1288 TransitionArray::PrintTransitions(os, map()->raw_transitions()); | 1297 TransitionArray::PrintTransitions(os, map()->raw_transitions()); |
1289 } | 1298 } |
1290 #endif // defined(DEBUG) || defined(OBJECT_PRINT) | 1299 #endif // defined(DEBUG) || defined(OBJECT_PRINT) |
1291 } // namespace internal | 1300 } // namespace internal |
1292 } // namespace v8 | 1301 } // namespace v8 |
OLD | NEW |