| 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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 } | 326 } |
| 327 | 327 |
| 328 | 328 |
| 329 void TypeFeedbackInfo::TypeFeedbackInfoVerify() { | 329 void TypeFeedbackInfo::TypeFeedbackInfoVerify() { |
| 330 VerifyObjectField(kIcTotalCountOffset); | 330 VerifyObjectField(kIcTotalCountOffset); |
| 331 VerifyObjectField(kIcWithTypeinfoCountOffset); | 331 VerifyObjectField(kIcWithTypeinfoCountOffset); |
| 332 VerifyHeapPointer(type_feedback_cells()); | 332 VerifyHeapPointer(type_feedback_cells()); |
| 333 } | 333 } |
| 334 | 334 |
| 335 | 335 |
| 336 void AliasedArgumentsEntry::AliasedArgumentsEntryVerify() { |
| 337 VerifySmiField(kAliasedContextSlot); |
| 338 } |
| 339 |
| 340 |
| 336 void FixedArray::FixedArrayVerify() { | 341 void FixedArray::FixedArrayVerify() { |
| 337 for (int i = 0; i < length(); i++) { | 342 for (int i = 0; i < length(); i++) { |
| 338 Object* e = get(i); | 343 Object* e = get(i); |
| 339 if (e->IsHeapObject()) { | 344 if (e->IsHeapObject()) { |
| 340 VerifyHeapPointer(e); | 345 VerifyHeapPointer(e); |
| 341 } else { | 346 } else { |
| 342 e->Verify(); | 347 e->Verify(); |
| 343 } | 348 } |
| 344 } | 349 } |
| 345 } | 350 } |
| (...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 863 ASSERT(e->IsUndefined()); | 868 ASSERT(e->IsUndefined()); |
| 864 } | 869 } |
| 865 } | 870 } |
| 866 } | 871 } |
| 867 } | 872 } |
| 868 | 873 |
| 869 | 874 |
| 870 #endif // DEBUG | 875 #endif // DEBUG |
| 871 | 876 |
| 872 } } // namespace v8::internal | 877 } } // namespace v8::internal |
| OLD | NEW |