| 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/objects.h" | 5 #include "src/objects.h" |
| 6 | 6 |
| 7 #include <iomanip> | 7 #include <iomanip> |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "src/disasm.h" | 10 #include "src/disasm.h" |
| (...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1129 | 1129 |
| 1130 | 1130 |
| 1131 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT | 1131 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT |
| 1132 HeapObject::PrintHeader(os, "PrototypeInfo"); | 1132 HeapObject::PrintHeader(os, "PrototypeInfo"); |
| 1133 os << "\n - prototype users: " << Brief(prototype_users()); | 1133 os << "\n - prototype users: " << Brief(prototype_users()); |
| 1134 os << "\n - registry slot: " << registry_slot(); | 1134 os << "\n - registry slot: " << registry_slot(); |
| 1135 os << "\n - validity cell: " << Brief(validity_cell()); | 1135 os << "\n - validity cell: " << Brief(validity_cell()); |
| 1136 os << "\n"; | 1136 os << "\n"; |
| 1137 } | 1137 } |
| 1138 | 1138 |
| 1139 | 1139 void ContextExtension::ContextExtensionPrint(std::ostream& os) { // NOLINT |
| 1140 void SloppyBlockWithEvalContextExtension:: | 1140 HeapObject::PrintHeader(os, "ContextExtension"); |
| 1141 SloppyBlockWithEvalContextExtensionPrint(std::ostream& os) { // NOLINT | |
| 1142 HeapObject::PrintHeader(os, "SloppyBlockWithEvalContextExtension"); | |
| 1143 os << "\n - scope_info: " << Brief(scope_info()); | 1141 os << "\n - scope_info: " << Brief(scope_info()); |
| 1144 os << "\n - extension: " << Brief(extension()); | 1142 os << "\n - extension: " << Brief(extension()); |
| 1145 os << "\n"; | 1143 os << "\n"; |
| 1146 } | 1144 } |
| 1147 | 1145 |
| 1148 | 1146 |
| 1149 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT | 1147 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT |
| 1150 HeapObject::PrintHeader(os, "AccessorPair"); | 1148 HeapObject::PrintHeader(os, "AccessorPair"); |
| 1151 os << "\n - getter: " << Brief(getter()); | 1149 os << "\n - getter: " << Brief(getter()); |
| 1152 os << "\n - setter: " << Brief(setter()); | 1150 os << "\n - setter: " << Brief(setter()); |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1501 printf("Not a transition array\n"); | 1499 printf("Not a transition array\n"); |
| 1502 } else { | 1500 } else { |
| 1503 reinterpret_cast<i::TransitionArray*>(object)->Print(); | 1501 reinterpret_cast<i::TransitionArray*>(object)->Print(); |
| 1504 } | 1502 } |
| 1505 } | 1503 } |
| 1506 | 1504 |
| 1507 extern void _v8_internal_Print_StackTrace() { | 1505 extern void _v8_internal_Print_StackTrace() { |
| 1508 i::Isolate* isolate = i::Isolate::Current(); | 1506 i::Isolate* isolate = i::Isolate::Current(); |
| 1509 isolate->PrintStack(stdout); | 1507 isolate->PrintStack(stdout); |
| 1510 } | 1508 } |
| OLD | NEW |