| 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 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1195 } | 1195 } |
| 1196 | 1196 |
| 1197 void JSModuleNamespace::JSModuleNamespacePrint(std::ostream& os) { // NOLINT | 1197 void JSModuleNamespace::JSModuleNamespacePrint(std::ostream& os) { // NOLINT |
| 1198 HeapObject::PrintHeader(os, "JSModuleNamespace"); | 1198 HeapObject::PrintHeader(os, "JSModuleNamespace"); |
| 1199 os << "\n - module: " << Brief(module()); | 1199 os << "\n - module: " << Brief(module()); |
| 1200 os << "\n"; | 1200 os << "\n"; |
| 1201 } | 1201 } |
| 1202 | 1202 |
| 1203 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT | 1203 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT |
| 1204 HeapObject::PrintHeader(os, "PrototypeInfo"); | 1204 HeapObject::PrintHeader(os, "PrototypeInfo"); |
| 1205 os << "\n - weak cell: " << Brief(weak_cell()); |
| 1205 os << "\n - prototype users: " << Brief(prototype_users()); | 1206 os << "\n - prototype users: " << Brief(prototype_users()); |
| 1206 os << "\n - registry slot: " << registry_slot(); | 1207 os << "\n - registry slot: " << registry_slot(); |
| 1207 os << "\n - validity cell: " << Brief(validity_cell()); | 1208 os << "\n - validity cell: " << Brief(validity_cell()); |
| 1208 os << "\n"; | 1209 os << "\n"; |
| 1209 } | 1210 } |
| 1210 | 1211 |
| 1211 void Tuple3::Tuple3Print(std::ostream& os) { // NOLINT | 1212 void Tuple3::Tuple3Print(std::ostream& os) { // NOLINT |
| 1212 HeapObject::PrintHeader(os, "Tuple3"); | 1213 HeapObject::PrintHeader(os, "Tuple3"); |
| 1213 os << "\n - value1: " << Brief(value1()); | 1214 os << "\n - value1: " << Brief(value1()); |
| 1214 os << "\n - value2: " << Brief(value2()); | 1215 os << "\n - value2: " << Brief(value2()); |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1579 printf("Not a transition array\n"); | 1580 printf("Not a transition array\n"); |
| 1580 } else { | 1581 } else { |
| 1581 reinterpret_cast<i::TransitionArray*>(object)->Print(); | 1582 reinterpret_cast<i::TransitionArray*>(object)->Print(); |
| 1582 } | 1583 } |
| 1583 } | 1584 } |
| 1584 | 1585 |
| 1585 extern void _v8_internal_Print_StackTrace() { | 1586 extern void _v8_internal_Print_StackTrace() { |
| 1586 i::Isolate* isolate = i::Isolate::Current(); | 1587 i::Isolate* isolate = i::Isolate::Current(); |
| 1587 isolate->PrintStack(stdout); | 1588 isolate->PrintStack(stdout); |
| 1588 } | 1589 } |
| OLD | NEW |