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

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

Issue 10867033: Disable speculative LICM when it may lead to unnecessary deopts (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: feedback addressed Created 8 years, 4 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.h ('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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(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
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
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698