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 "src/bootstrapper.h" | 7 #include "src/bootstrapper.h" |
8 #include "src/disasm.h" | 8 #include "src/disasm.h" |
9 #include "src/disassembler.h" | 9 #include "src/disassembler.h" |
10 #include "src/field-type.h" | 10 #include "src/field-type.h" |
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
981 VerifyPointer(instance_template()); | 981 VerifyPointer(instance_template()); |
982 VerifyPointer(signature()); | 982 VerifyPointer(signature()); |
983 VerifyPointer(access_check_info()); | 983 VerifyPointer(access_check_info()); |
984 } | 984 } |
985 | 985 |
986 | 986 |
987 void ObjectTemplateInfo::ObjectTemplateInfoVerify() { | 987 void ObjectTemplateInfo::ObjectTemplateInfoVerify() { |
988 CHECK(IsObjectTemplateInfo()); | 988 CHECK(IsObjectTemplateInfo()); |
989 TemplateInfoVerify(); | 989 TemplateInfoVerify(); |
990 VerifyPointer(constructor()); | 990 VerifyPointer(constructor()); |
991 VerifyPointer(internal_field_count()); | 991 VerifyPointer(data()); |
992 } | 992 } |
993 | 993 |
994 | 994 |
995 void AllocationSite::AllocationSiteVerify() { | 995 void AllocationSite::AllocationSiteVerify() { |
996 CHECK(IsAllocationSite()); | 996 CHECK(IsAllocationSite()); |
997 } | 997 } |
998 | 998 |
999 | 999 |
1000 void AllocationMemento::AllocationMementoVerify() { | 1000 void AllocationMemento::AllocationMementoVerify() { |
1001 CHECK(IsAllocationMemento()); | 1001 CHECK(IsAllocationMemento()); |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1330 | 1330 |
1331 // Both are done at the same time. | 1331 // Both are done at the same time. |
1332 CHECK_EQ(new_it.done(), old_it.done()); | 1332 CHECK_EQ(new_it.done(), old_it.done()); |
1333 } | 1333 } |
1334 | 1334 |
1335 | 1335 |
1336 #endif // DEBUG | 1336 #endif // DEBUG |
1337 | 1337 |
1338 } // namespace internal | 1338 } // namespace internal |
1339 } // namespace v8 | 1339 } // namespace v8 |
OLD | NEW |