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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/disasm.h" | 7 #include "src/disasm.h" |
8 #include "src/disassembler.h" | 8 #include "src/disassembler.h" |
9 #include "src/heap/objects-visiting.h" | 9 #include "src/heap/objects-visiting.h" |
10 #include "src/jsregexp.h" | 10 #include "src/jsregexp.h" |
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 HeapObject::PrintHeader(os, "ObjectTemplateInfo"); | 934 HeapObject::PrintHeader(os, "ObjectTemplateInfo"); |
935 os << " - tag: " << Brief(tag()); | 935 os << " - tag: " << Brief(tag()); |
936 os << "\n - property_list: " << Brief(property_list()); | 936 os << "\n - property_list: " << Brief(property_list()); |
937 os << "\n - property_accessors: " << Brief(property_accessors()); | 937 os << "\n - property_accessors: " << Brief(property_accessors()); |
938 os << "\n - constructor: " << Brief(constructor()); | 938 os << "\n - constructor: " << Brief(constructor()); |
939 os << "\n - internal_field_count: " << Brief(internal_field_count()); | 939 os << "\n - internal_field_count: " << Brief(internal_field_count()); |
940 os << "\n"; | 940 os << "\n"; |
941 } | 941 } |
942 | 942 |
943 | 943 |
944 void SignatureInfo::SignatureInfoPrint(std::ostream& os) { // NOLINT | |
945 HeapObject::PrintHeader(os, "SignatureInfo"); | |
946 os << "\n - receiver: " << Brief(receiver()); | |
947 os << "\n - args: " << Brief(args()); | |
948 os << "\n"; | |
949 } | |
950 | |
951 | |
952 void TypeSwitchInfo::TypeSwitchInfoPrint(std::ostream& os) { // NOLINT | 944 void TypeSwitchInfo::TypeSwitchInfoPrint(std::ostream& os) { // NOLINT |
953 HeapObject::PrintHeader(os, "TypeSwitchInfo"); | 945 HeapObject::PrintHeader(os, "TypeSwitchInfo"); |
954 os << "\n - types: " << Brief(types()); | 946 os << "\n - types: " << Brief(types()); |
955 os << "\n"; | 947 os << "\n"; |
956 } | 948 } |
957 | 949 |
958 | 950 |
959 void AllocationSite::AllocationSitePrint(std::ostream& os) { // NOLINT | 951 void AllocationSite::AllocationSitePrint(std::ostream& os) { // NOLINT |
960 HeapObject::PrintHeader(os, "AllocationSite"); | 952 HeapObject::PrintHeader(os, "AllocationSite"); |
961 os << " - weak_next: " << Brief(weak_next()); | 953 os << " - weak_next: " << Brief(weak_next()); |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1190 } | 1182 } |
1191 } | 1183 } |
1192 | 1184 |
1193 | 1185 |
1194 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT | 1186 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT |
1195 if (!map()->HasTransitionArray()) return; | 1187 if (!map()->HasTransitionArray()) return; |
1196 map()->transitions()->PrintTransitions(os, false); | 1188 map()->transitions()->PrintTransitions(os, false); |
1197 } | 1189 } |
1198 #endif // defined(DEBUG) || defined(OBJECT_PRINT) | 1190 #endif // defined(DEBUG) || defined(OBJECT_PRINT) |
1199 } } // namespace v8::internal | 1191 } } // namespace v8::internal |
OLD | NEW |