| 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/jsregexp.h" | 9 #include "src/jsregexp.h" |
| 10 #include "src/macro-assembler.h" | 10 #include "src/macro-assembler.h" |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 | 342 |
| 343 void PolymorphicCodeCache::PolymorphicCodeCacheVerify() { | 343 void PolymorphicCodeCache::PolymorphicCodeCacheVerify() { |
| 344 VerifyHeapPointer(cache()); | 344 VerifyHeapPointer(cache()); |
| 345 CHECK(cache()->IsUndefined() || cache()->IsPolymorphicCodeCacheHashTable()); | 345 CHECK(cache()->IsUndefined() || cache()->IsPolymorphicCodeCacheHashTable()); |
| 346 } | 346 } |
| 347 | 347 |
| 348 | 348 |
| 349 void TypeFeedbackInfo::TypeFeedbackInfoVerify() { | 349 void TypeFeedbackInfo::TypeFeedbackInfoVerify() { |
| 350 VerifyObjectField(kStorage1Offset); | 350 VerifyObjectField(kStorage1Offset); |
| 351 VerifyObjectField(kStorage2Offset); | 351 VerifyObjectField(kStorage2Offset); |
| 352 VerifyObjectField(kStorage3Offset); |
| 352 } | 353 } |
| 353 | 354 |
| 354 | 355 |
| 355 void AliasedArgumentsEntry::AliasedArgumentsEntryVerify() { | 356 void AliasedArgumentsEntry::AliasedArgumentsEntryVerify() { |
| 356 VerifySmiField(kAliasedContextSlot); | 357 VerifySmiField(kAliasedContextSlot); |
| 357 } | 358 } |
| 358 | 359 |
| 359 | 360 |
| 360 void FixedArray::FixedArrayVerify() { | 361 void FixedArray::FixedArrayVerify() { |
| 361 for (int i = 0; i < length(); i++) { | 362 for (int i = 0; i < length(); i++) { |
| (...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1193 for (int i = 0; i < number_of_transitions(); ++i) { | 1194 for (int i = 0; i < number_of_transitions(); ++i) { |
| 1194 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; | 1195 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; |
| 1195 } | 1196 } |
| 1196 return true; | 1197 return true; |
| 1197 } | 1198 } |
| 1198 | 1199 |
| 1199 | 1200 |
| 1200 #endif // DEBUG | 1201 #endif // DEBUG |
| 1201 | 1202 |
| 1202 } } // namespace v8::internal | 1203 } } // namespace v8::internal |
| OLD | NEW |