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 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1231 os << "\n - property_list: " << Brief(property_list()); | 1231 os << "\n - property_list: " << Brief(property_list()); |
1232 os << "\n - call_code: " << Brief(call_code()); | 1232 os << "\n - call_code: " << Brief(call_code()); |
1233 os << "\n - property_accessors: " << Brief(property_accessors()); | 1233 os << "\n - property_accessors: " << Brief(property_accessors()); |
1234 os << "\n - prototype_template: " << Brief(prototype_template()); | 1234 os << "\n - prototype_template: " << Brief(prototype_template()); |
1235 os << "\n - parent_template: " << Brief(parent_template()); | 1235 os << "\n - parent_template: " << Brief(parent_template()); |
1236 os << "\n - named_property_handler: " << Brief(named_property_handler()); | 1236 os << "\n - named_property_handler: " << Brief(named_property_handler()); |
1237 os << "\n - indexed_property_handler: " << Brief(indexed_property_handler()); | 1237 os << "\n - indexed_property_handler: " << Brief(indexed_property_handler()); |
1238 os << "\n - instance_template: " << Brief(instance_template()); | 1238 os << "\n - instance_template: " << Brief(instance_template()); |
1239 os << "\n - signature: " << Brief(signature()); | 1239 os << "\n - signature: " << Brief(signature()); |
1240 os << "\n - access_check_info: " << Brief(access_check_info()); | 1240 os << "\n - access_check_info: " << Brief(access_check_info()); |
| 1241 os << "\n - cache_property: " << Brief(cache_property()); |
1241 os << "\n - hidden_prototype: " << (hidden_prototype() ? "true" : "false"); | 1242 os << "\n - hidden_prototype: " << (hidden_prototype() ? "true" : "false"); |
1242 os << "\n - undetectable: " << (undetectable() ? "true" : "false"); | 1243 os << "\n - undetectable: " << (undetectable() ? "true" : "false"); |
1243 os << "\n - need_access_check: " << (needs_access_check() ? "true" : "false"); | 1244 os << "\n - need_access_check: " << (needs_access_check() ? "true" : "false"); |
1244 os << "\n - instantiated: " << (instantiated() ? "true" : "false"); | 1245 os << "\n - instantiated: " << (instantiated() ? "true" : "false"); |
1245 os << "\n"; | 1246 os << "\n"; |
1246 } | 1247 } |
1247 | 1248 |
1248 | 1249 |
1249 void ObjectTemplateInfo::ObjectTemplateInfoPrint(std::ostream& os) { // NOLINT | 1250 void ObjectTemplateInfo::ObjectTemplateInfoPrint(std::ostream& os) { // NOLINT |
1250 HeapObject::PrintHeader(os, "ObjectTemplateInfo"); | 1251 HeapObject::PrintHeader(os, "ObjectTemplateInfo"); |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1539 printf("Not a transition array\n"); | 1540 printf("Not a transition array\n"); |
1540 } else { | 1541 } else { |
1541 reinterpret_cast<i::TransitionArray*>(object)->Print(); | 1542 reinterpret_cast<i::TransitionArray*>(object)->Print(); |
1542 } | 1543 } |
1543 } | 1544 } |
1544 | 1545 |
1545 extern void _v8_internal_Print_StackTrace() { | 1546 extern void _v8_internal_Print_StackTrace() { |
1546 i::Isolate* isolate = i::Isolate::Current(); | 1547 i::Isolate* isolate = i::Isolate::Current(); |
1547 isolate->PrintStack(stdout); | 1548 isolate->PrintStack(stdout); |
1548 } | 1549 } |
OLD | NEW |