| 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 1146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1157 os << "\n - after debug event: " << Brief(after_debug_event()); | 1157 os << "\n - after debug event: " << Brief(after_debug_event()); |
| 1158 os << "\n"; | 1158 os << "\n"; |
| 1159 } | 1159 } |
| 1160 | 1160 |
| 1161 void Module::ModulePrint(std::ostream& os) { // NOLINT | 1161 void Module::ModulePrint(std::ostream& os) { // NOLINT |
| 1162 HeapObject::PrintHeader(os, "Module"); | 1162 HeapObject::PrintHeader(os, "Module"); |
| 1163 os << "\n - code: " << Brief(code()); | 1163 os << "\n - code: " << Brief(code()); |
| 1164 os << "\n - exports: " << Brief(exports()); | 1164 os << "\n - exports: " << Brief(exports()); |
| 1165 os << "\n - requested_modules: " << Brief(requested_modules()); | 1165 os << "\n - requested_modules: " << Brief(requested_modules()); |
| 1166 os << "\n - evaluated: " << evaluated(); | 1166 os << "\n - evaluated: " << evaluated(); |
| 1167 os << "\n - embedder_data: " << Brief(embedder_data()); | |
| 1168 os << "\n"; | 1167 os << "\n"; |
| 1169 } | 1168 } |
| 1170 | 1169 |
| 1171 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT | 1170 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT |
| 1172 HeapObject::PrintHeader(os, "PrototypeInfo"); | 1171 HeapObject::PrintHeader(os, "PrototypeInfo"); |
| 1173 os << "\n - prototype users: " << Brief(prototype_users()); | 1172 os << "\n - prototype users: " << Brief(prototype_users()); |
| 1174 os << "\n - registry slot: " << registry_slot(); | 1173 os << "\n - registry slot: " << registry_slot(); |
| 1175 os << "\n - validity cell: " << Brief(validity_cell()); | 1174 os << "\n - validity cell: " << Brief(validity_cell()); |
| 1176 os << "\n"; | 1175 os << "\n"; |
| 1177 } | 1176 } |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1539 printf("Not a transition array\n"); | 1538 printf("Not a transition array\n"); |
| 1540 } else { | 1539 } else { |
| 1541 reinterpret_cast<i::TransitionArray*>(object)->Print(); | 1540 reinterpret_cast<i::TransitionArray*>(object)->Print(); |
| 1542 } | 1541 } |
| 1543 } | 1542 } |
| 1544 | 1543 |
| 1545 extern void _v8_internal_Print_StackTrace() { | 1544 extern void _v8_internal_Print_StackTrace() { |
| 1546 i::Isolate* isolate = i::Isolate::Current(); | 1545 i::Isolate* isolate = i::Isolate::Current(); |
| 1547 isolate->PrintStack(stdout); | 1546 isolate->PrintStack(stdout); |
| 1548 } | 1547 } |
| OLD | NEW |