| 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/macro-assembler.h" | 10 #include "src/macro-assembler.h" |
| (...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 961 | 961 |
| 962 | 962 |
| 963 void ObjectTemplateInfo::ObjectTemplateInfoVerify() { | 963 void ObjectTemplateInfo::ObjectTemplateInfoVerify() { |
| 964 CHECK(IsObjectTemplateInfo()); | 964 CHECK(IsObjectTemplateInfo()); |
| 965 TemplateInfoVerify(); | 965 TemplateInfoVerify(); |
| 966 VerifyPointer(constructor()); | 966 VerifyPointer(constructor()); |
| 967 VerifyPointer(internal_field_count()); | 967 VerifyPointer(internal_field_count()); |
| 968 } | 968 } |
| 969 | 969 |
| 970 | 970 |
| 971 void TypeSwitchInfo::TypeSwitchInfoVerify() { | |
| 972 CHECK(IsTypeSwitchInfo()); | |
| 973 VerifyPointer(types()); | |
| 974 } | |
| 975 | |
| 976 | |
| 977 void AllocationSite::AllocationSiteVerify() { | 971 void AllocationSite::AllocationSiteVerify() { |
| 978 CHECK(IsAllocationSite()); | 972 CHECK(IsAllocationSite()); |
| 979 } | 973 } |
| 980 | 974 |
| 981 | 975 |
| 982 void AllocationMemento::AllocationMementoVerify() { | 976 void AllocationMemento::AllocationMementoVerify() { |
| 983 CHECK(IsAllocationMemento()); | 977 CHECK(IsAllocationMemento()); |
| 984 VerifyHeapPointer(allocation_site()); | 978 VerifyHeapPointer(allocation_site()); |
| 985 CHECK(!IsValid() || GetAllocationSite()->IsAllocationSite()); | 979 CHECK(!IsValid() || GetAllocationSite()->IsAllocationSite()); |
| 986 } | 980 } |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1308 | 1302 |
| 1309 // Both are done at the same time. | 1303 // Both are done at the same time. |
| 1310 CHECK_EQ(new_it.done(), old_it.done()); | 1304 CHECK_EQ(new_it.done(), old_it.done()); |
| 1311 } | 1305 } |
| 1312 | 1306 |
| 1313 | 1307 |
| 1314 #endif // DEBUG | 1308 #endif // DEBUG |
| 1315 | 1309 |
| 1316 } // namespace internal | 1310 } // namespace internal |
| 1317 } // namespace v8 | 1311 } // namespace v8 |
| OLD | NEW |