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

Unified Diff: src/ic/ic.h

Issue 1424153003: VectorICs: Remove --vector-stores flag. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Response to Hannes comment. Created 5 years, 1 month 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/ia32/ic-ia32.cc ('k') | src/ic/ic.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic.h
diff --git a/src/ic/ic.h b/src/ic/ic.h
index 47883b46af82912f687c1c3252605a202e4fcf15..b5db933973c55d2a0d612fcb3aae02914ba235e6 100644
--- a/src/ic/ic.h
+++ b/src/ic/ic.h
@@ -77,9 +77,8 @@ class IC {
static bool ICUseVector(Code::Kind kind) {
return kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC ||
- kind == Code::CALL_IC ||
- (FLAG_vector_stores &&
- (kind == Code::STORE_IC || kind == Code::KEYED_STORE_IC));
+ kind == Code::CALL_IC || kind == Code::STORE_IC ||
+ kind == Code::KEYED_STORE_IC;
}
protected:
@@ -532,22 +531,10 @@ class KeyedStoreIC : public StoreIC {
IcCheckTypeField::encode(ELEMENT);
}
- static KeyedAccessStoreMode GetKeyedAccessStoreMode(
- ExtraICState extra_state) {
- DCHECK(!FLAG_vector_stores);
- return ExtraICStateKeyedAccessStoreMode::decode(extra_state);
- }
-
KeyedAccessStoreMode GetKeyedAccessStoreMode() {
- DCHECK(FLAG_vector_stores);
return casted_nexus<KeyedStoreICNexus>()->GetKeyedAccessStoreMode();
}
- static IcCheckType GetKeyType(ExtraICState extra_state) {
- DCHECK(!FLAG_vector_stores);
- return IcCheckTypeField::decode(extra_state);
- }
-
KeyedStoreIC(FrameDepth depth, Isolate* isolate,
KeyedStoreICNexus* nexus = NULL)
: StoreIC(depth, isolate, nexus) {
@@ -604,8 +591,6 @@ class KeyedStoreIC : public StoreIC {
Handle<Map> ComputeTransitionedMap(Handle<Map> map,
KeyedAccessStoreMode store_mode);
- void ValidateStoreMode(Handle<Code> stub);
-
friend class IC;
};
« no previous file with comments | « src/ic/ia32/ic-ia32.cc ('k') | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698