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

Unified Diff: src/ic/ic-inl.h

Issue 1213773002: Vector ICs: Changes to the IC system to support vector-based stores. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ic/ic.cc ('k') | src/type-feedback-vector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic-inl.h
diff --git a/src/ic/ic-inl.h b/src/ic/ic-inl.h
index 55572f75277ea20f28537596cda393ed6a183709..95fbfc47549b095be57172e0d80a8dc4d34e2d52 100644
--- a/src/ic/ic-inl.h
+++ b/src/ic/ic-inl.h
@@ -98,10 +98,11 @@ void IC::SetTargetAtAddress(Address address, Code* target,
DCHECK(target->is_inline_cache_stub() || target->is_compare_ic_stub());
- // Don't use this for load_ics when --vector-ics is turned on.
DCHECK(!target->is_inline_cache_stub() ||
(target->kind() != Code::LOAD_IC &&
- target->kind() != Code::KEYED_LOAD_IC));
+ target->kind() != Code::KEYED_LOAD_IC &&
+ (!FLAG_vector_stores || (target->kind() != Code::STORE_IC &&
+ target->kind() != Code::KEYED_STORE_IC))));
Heap* heap = target->GetHeap();
Code* old_target = GetTargetAtAddress(address, constant_pool);
« no previous file with comments | « src/ic/ic.cc ('k') | src/type-feedback-vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698