| Index: src/ic/ic.h
|
| diff --git a/src/ic/ic.h b/src/ic/ic.h
|
| index 6fdae8967ec815917248731c7cdf8b409341b02b..54d4bc43e759171a43e453d8d1f7315a0e935e37 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.
|
|
|