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 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 336 } | 336 } |
| 337 | 337 |
| 338 | 338 |
| 339 void PolymorphicCodeCache::PolymorphicCodeCacheVerify() { | 339 void PolymorphicCodeCache::PolymorphicCodeCacheVerify() { |
| 340 VerifyHeapPointer(cache()); | 340 VerifyHeapPointer(cache()); |
| 341 ASSERT(cache()->IsUndefined() || cache()->IsPolymorphicCodeCacheHashTable()); | 341 ASSERT(cache()->IsUndefined() || cache()->IsPolymorphicCodeCacheHashTable()); |
| 342 } | 342 } |
| 343 | 343 |
| 344 | 344 |
| 345 void TypeFeedbackInfo::TypeFeedbackInfoVerify() { | 345 void TypeFeedbackInfo::TypeFeedbackInfoVerify() { |
| 346 VerifyObjectField(kIcTotalCountOffset); | 346 VerifyObjectField(kStorage1Offset); |
| 347 VerifyObjectField(kIcWithTypeinfoCountOffset); | 347 VerifyObjectField(kStorage1Offset); |
|
Vyacheslav Egorov (Google)
2012/08/23 15:58:04
kStorage2Offset?
| |
| 348 VerifyHeapPointer(type_feedback_cells()); | 348 VerifyHeapPointer(type_feedback_cells()); |
| 349 } | 349 } |
| 350 | 350 |
| 351 | 351 |
| 352 void AliasedArgumentsEntry::AliasedArgumentsEntryVerify() { | 352 void AliasedArgumentsEntry::AliasedArgumentsEntryVerify() { |
| 353 VerifySmiField(kAliasedContextSlot); | 353 VerifySmiField(kAliasedContextSlot); |
| 354 } | 354 } |
| 355 | 355 |
| 356 | 356 |
| 357 void FixedArray::FixedArrayVerify() { | 357 void FixedArray::FixedArrayVerify() { |
| (...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1014 FixedArray* proto_transitions = GetPrototypeTransitions(); | 1014 FixedArray* proto_transitions = GetPrototypeTransitions(); |
| 1015 MemsetPointer(proto_transitions->data_start(), | 1015 MemsetPointer(proto_transitions->data_start(), |
| 1016 GetHeap()->the_hole_value(), | 1016 GetHeap()->the_hole_value(), |
| 1017 proto_transitions->length()); | 1017 proto_transitions->length()); |
| 1018 } | 1018 } |
| 1019 | 1019 |
| 1020 | 1020 |
| 1021 #endif // DEBUG | 1021 #endif // DEBUG |
| 1022 | 1022 |
| 1023 } } // namespace v8::internal | 1023 } } // namespace v8::internal |
| OLD | NEW |