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 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1274 os << "\n - property_list: " << Brief(property_list()); | 1274 os << "\n - property_list: " << Brief(property_list()); |
1275 os << "\n - call_code: " << Brief(call_code()); | 1275 os << "\n - call_code: " << Brief(call_code()); |
1276 os << "\n - property_accessors: " << Brief(property_accessors()); | 1276 os << "\n - property_accessors: " << Brief(property_accessors()); |
1277 os << "\n - prototype_template: " << Brief(prototype_template()); | 1277 os << "\n - prototype_template: " << Brief(prototype_template()); |
1278 os << "\n - parent_template: " << Brief(parent_template()); | 1278 os << "\n - parent_template: " << Brief(parent_template()); |
1279 os << "\n - named_property_handler: " << Brief(named_property_handler()); | 1279 os << "\n - named_property_handler: " << Brief(named_property_handler()); |
1280 os << "\n - indexed_property_handler: " << Brief(indexed_property_handler()); | 1280 os << "\n - indexed_property_handler: " << Brief(indexed_property_handler()); |
1281 os << "\n - instance_template: " << Brief(instance_template()); | 1281 os << "\n - instance_template: " << Brief(instance_template()); |
1282 os << "\n - signature: " << Brief(signature()); | 1282 os << "\n - signature: " << Brief(signature()); |
1283 os << "\n - access_check_info: " << Brief(access_check_info()); | 1283 os << "\n - access_check_info: " << Brief(access_check_info()); |
| 1284 os << "\n - cached_property_name: " << Brief(cached_property_name()); |
1284 os << "\n - hidden_prototype: " << (hidden_prototype() ? "true" : "false"); | 1285 os << "\n - hidden_prototype: " << (hidden_prototype() ? "true" : "false"); |
1285 os << "\n - undetectable: " << (undetectable() ? "true" : "false"); | 1286 os << "\n - undetectable: " << (undetectable() ? "true" : "false"); |
1286 os << "\n - need_access_check: " << (needs_access_check() ? "true" : "false"); | 1287 os << "\n - need_access_check: " << (needs_access_check() ? "true" : "false"); |
1287 os << "\n - instantiated: " << (instantiated() ? "true" : "false"); | 1288 os << "\n - instantiated: " << (instantiated() ? "true" : "false"); |
1288 os << "\n"; | 1289 os << "\n"; |
1289 } | 1290 } |
1290 | 1291 |
1291 | 1292 |
1292 void ObjectTemplateInfo::ObjectTemplateInfoPrint(std::ostream& os) { // NOLINT | 1293 void ObjectTemplateInfo::ObjectTemplateInfoPrint(std::ostream& os) { // NOLINT |
1293 HeapObject::PrintHeader(os, "ObjectTemplateInfo"); | 1294 HeapObject::PrintHeader(os, "ObjectTemplateInfo"); |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1582 printf("Not a transition array\n"); | 1583 printf("Not a transition array\n"); |
1583 } else { | 1584 } else { |
1584 reinterpret_cast<i::TransitionArray*>(object)->Print(); | 1585 reinterpret_cast<i::TransitionArray*>(object)->Print(); |
1585 } | 1586 } |
1586 } | 1587 } |
1587 | 1588 |
1588 extern void _v8_internal_Print_StackTrace() { | 1589 extern void _v8_internal_Print_StackTrace() { |
1589 i::Isolate* isolate = i::Isolate::Current(); | 1590 i::Isolate* isolate = i::Isolate::Current(); |
1590 isolate->PrintStack(stdout); | 1591 isolate->PrintStack(stdout); |
1591 } | 1592 } |
OLD | NEW |