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 1188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 - weak cell: " << Brief(weak_cell()); |
1206 os << "\n - prototype users: " << Brief(prototype_users()); | 1206 os << "\n - prototype users: " << Brief(prototype_users()); |
1207 os << "\n - registry slot: " << registry_slot(); | 1207 os << "\n - registry slot: " << registry_slot(); |
1208 os << "\n - validity cell: " << Brief(validity_cell()); | 1208 os << "\n - validity cell: " << Brief(validity_cell()); |
| 1209 os << "\n - object create map: " << Brief(object_create_map()); |
1209 os << "\n"; | 1210 os << "\n"; |
1210 } | 1211 } |
1211 | 1212 |
1212 void Tuple3::Tuple3Print(std::ostream& os) { // NOLINT | 1213 void Tuple3::Tuple3Print(std::ostream& os) { // NOLINT |
1213 HeapObject::PrintHeader(os, "Tuple3"); | 1214 HeapObject::PrintHeader(os, "Tuple3"); |
1214 os << "\n - value1: " << Brief(value1()); | 1215 os << "\n - value1: " << Brief(value1()); |
1215 os << "\n - value2: " << Brief(value2()); | 1216 os << "\n - value2: " << Brief(value2()); |
1216 os << "\n - value3: " << Brief(value3()); | 1217 os << "\n - value3: " << Brief(value3()); |
1217 os << "\n"; | 1218 os << "\n"; |
1218 } | 1219 } |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1580 printf("Not a transition array\n"); | 1581 printf("Not a transition array\n"); |
1581 } else { | 1582 } else { |
1582 reinterpret_cast<i::TransitionArray*>(object)->Print(); | 1583 reinterpret_cast<i::TransitionArray*>(object)->Print(); |
1583 } | 1584 } |
1584 } | 1585 } |
1585 | 1586 |
1586 extern void _v8_internal_Print_StackTrace() { | 1587 extern void _v8_internal_Print_StackTrace() { |
1587 i::Isolate* isolate = i::Isolate::Current(); | 1588 i::Isolate* isolate = i::Isolate::Current(); |
1588 isolate->PrintStack(stdout); | 1589 isolate->PrintStack(stdout); |
1589 } | 1590 } |
OLD | NEW |