Chromium Code Reviews| 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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 348 } | 348 } |
| 349 | 349 |
| 350 | 350 |
| 351 void PolymorphicCodeCache::PolymorphicCodeCacheVerify() { | 351 void PolymorphicCodeCache::PolymorphicCodeCacheVerify() { |
| 352 VerifyHeapPointer(cache()); | 352 VerifyHeapPointer(cache()); |
| 353 CHECK(cache()->IsUndefined() || cache()->IsPolymorphicCodeCacheHashTable()); | 353 CHECK(cache()->IsUndefined() || cache()->IsPolymorphicCodeCacheHashTable()); |
| 354 } | 354 } |
| 355 | 355 |
| 356 | 356 |
| 357 void TypeFeedbackInfo::TypeFeedbackInfoVerify() { | 357 void TypeFeedbackInfo::TypeFeedbackInfoVerify() { |
| 358 feedback_vector()->IsTypeFeedbackVector(); | |
|
Jakob Kummerow
2014/10/14 15:27:20
CHECK(...)?
mvstanton
2014/10/16 10:54:14
:D. Done.
| |
| 358 VerifyObjectField(kStorage1Offset); | 359 VerifyObjectField(kStorage1Offset); |
| 359 VerifyObjectField(kStorage2Offset); | 360 VerifyObjectField(kStorage2Offset); |
| 360 VerifyObjectField(kStorage3Offset); | 361 VerifyObjectField(kStorage3Offset); |
| 361 } | 362 } |
| 362 | 363 |
| 363 | 364 |
| 364 void AliasedArgumentsEntry::AliasedArgumentsEntryVerify() { | 365 void AliasedArgumentsEntry::AliasedArgumentsEntryVerify() { |
| 365 VerifySmiField(kAliasedContextSlot); | 366 VerifySmiField(kAliasedContextSlot); |
| 366 } | 367 } |
| 367 | 368 |
| (...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1204 for (int i = 0; i < number_of_transitions(); ++i) { | 1205 for (int i = 0; i < number_of_transitions(); ++i) { |
| 1205 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; | 1206 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; |
| 1206 } | 1207 } |
| 1207 return true; | 1208 return true; |
| 1208 } | 1209 } |
| 1209 | 1210 |
| 1210 | 1211 |
| 1211 #endif // DEBUG | 1212 #endif // DEBUG |
| 1212 | 1213 |
| 1213 } } // namespace v8::internal | 1214 } } // namespace v8::internal |
| OLD | NEW |