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 939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
950 | 950 |
951 | 951 |
952 void ObjectTemplateInfo::ObjectTemplateInfoVerify() { | 952 void ObjectTemplateInfo::ObjectTemplateInfoVerify() { |
953 CHECK(IsObjectTemplateInfo()); | 953 CHECK(IsObjectTemplateInfo()); |
954 TemplateInfoVerify(); | 954 TemplateInfoVerify(); |
955 VerifyPointer(constructor()); | 955 VerifyPointer(constructor()); |
956 VerifyPointer(internal_field_count()); | 956 VerifyPointer(internal_field_count()); |
957 } | 957 } |
958 | 958 |
959 | 959 |
960 void SignatureInfo::SignatureInfoVerify() { | |
961 CHECK(IsSignatureInfo()); | |
962 VerifyPointer(receiver()); | |
963 VerifyPointer(args()); | |
964 } | |
965 | |
966 | |
967 void TypeSwitchInfo::TypeSwitchInfoVerify() { | 960 void TypeSwitchInfo::TypeSwitchInfoVerify() { |
968 CHECK(IsTypeSwitchInfo()); | 961 CHECK(IsTypeSwitchInfo()); |
969 VerifyPointer(types()); | 962 VerifyPointer(types()); |
970 } | 963 } |
971 | 964 |
972 | 965 |
973 void AllocationSite::AllocationSiteVerify() { | 966 void AllocationSite::AllocationSiteVerify() { |
974 CHECK(IsAllocationSite()); | 967 CHECK(IsAllocationSite()); |
975 } | 968 } |
976 | 969 |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1258 while (map != heap->roots_array_start()[i++]) { | 1251 while (map != heap->roots_array_start()[i++]) { |
1259 CHECK_LT(i, Heap::kStrongRootListLength); | 1252 CHECK_LT(i, Heap::kStrongRootListLength); |
1260 } | 1253 } |
1261 } | 1254 } |
1262 } | 1255 } |
1263 | 1256 |
1264 | 1257 |
1265 #endif // DEBUG | 1258 #endif // DEBUG |
1266 | 1259 |
1267 } } // namespace v8::internal | 1260 } } // namespace v8::internal |
OLD | NEW |