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 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
984 VerifyPointer(instance_template()); | 984 VerifyPointer(instance_template()); |
985 VerifyPointer(signature()); | 985 VerifyPointer(signature()); |
986 VerifyPointer(access_check_info()); | 986 VerifyPointer(access_check_info()); |
987 } | 987 } |
988 | 988 |
989 | 989 |
990 void ObjectTemplateInfo::ObjectTemplateInfoVerify() { | 990 void ObjectTemplateInfo::ObjectTemplateInfoVerify() { |
991 CHECK(IsObjectTemplateInfo()); | 991 CHECK(IsObjectTemplateInfo()); |
992 TemplateInfoVerify(); | 992 TemplateInfoVerify(); |
993 VerifyPointer(constructor()); | 993 VerifyPointer(constructor()); |
994 VerifyPointer(internal_field_count()); | 994 VerifyPointer(data()); |
995 } | 995 } |
996 | 996 |
997 | 997 |
998 void AllocationSite::AllocationSiteVerify() { | 998 void AllocationSite::AllocationSiteVerify() { |
999 CHECK(IsAllocationSite()); | 999 CHECK(IsAllocationSite()); |
1000 } | 1000 } |
1001 | 1001 |
1002 | 1002 |
1003 void AllocationMemento::AllocationMementoVerify() { | 1003 void AllocationMemento::AllocationMementoVerify() { |
1004 CHECK(IsAllocationMemento()); | 1004 CHECK(IsAllocationMemento()); |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1333 | 1333 |
1334 // Both are done at the same time. | 1334 // Both are done at the same time. |
1335 CHECK_EQ(new_it.done(), old_it.done()); | 1335 CHECK_EQ(new_it.done(), old_it.done()); |
1336 } | 1336 } |
1337 | 1337 |
1338 | 1338 |
1339 #endif // DEBUG | 1339 #endif // DEBUG |
1340 | 1340 |
1341 } // namespace internal | 1341 } // namespace internal |
1342 } // namespace v8 | 1342 } // namespace v8 |
OLD | NEW |