Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: src/objects-debug.cc

Issue 9460004: Fix redefining of attributes on aliased arguments. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Andreas Rossberg. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698