Index: src/ic/ic.h |
diff --git a/src/ic/ic.h b/src/ic/ic.h |
index b5ffca26be7fd0652c1f6551d42d06d0320bfe82..5f1600021779acd3545f83b7d8c2ddff613f63fb 100644 |
--- a/src/ic/ic.h |
+++ b/src/ic/ic.h |
@@ -133,6 +133,12 @@ class IC { |
static Handle<HeapType> CurrentTypeOf(Handle<Object> object, |
Isolate* isolate); |
+ static bool ICUseVector(Code::Kind kind) { |
+ return (FLAG_vector_ics && |
+ (kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC)) || |
+ kind == Code::CALL_IC; |
+ } |
+ |
protected: |
// Get the call-site target; used for determining the state. |
Handle<Code> target() const { return target_; } |
@@ -152,12 +158,6 @@ class IC { |
inline void set_target(Code* code); |
bool is_target_set() { return target_set_; } |
- static bool ICUseVector(Code::Kind kind) { |
- return (FLAG_vector_ics && |
- (kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC)) || |
- kind == Code::CALL_IC; |
- } |
- |
bool UseVector() const { |
bool use = ICUseVector(kind()); |
// If we are supposed to use the nexus, verify the nexus is non-null. |