| Index: src/ic/ic-state.h
|
| diff --git a/src/ic/ic-state.h b/src/ic/ic-state.h
|
| index 6d014d1ca4e6f5a0576c74b233098af850fca7a4..442e87c179598a46f8c0de7038e045ee0e2ba9e9 100644
|
| --- a/src/ic/ic-state.h
|
| +++ b/src/ic/ic-state.h
|
| @@ -23,12 +23,7 @@ class ICUtility : public AllStatic {
|
|
|
| class CallICState final BASE_EMBEDDED {
|
| public:
|
| - explicit CallICState(ExtraICState extra_ic_state);
|
| -
|
| - enum CallType { METHOD, FUNCTION };
|
| -
|
| - CallICState(int argc, CallType call_type)
|
| - : argc_(argc), call_type_(call_type) {}
|
| + explicit CallICState(int argc) : argc_(argc) {}
|
|
|
| ExtraICState GetExtraICState() const;
|
|
|
| @@ -37,16 +32,11 @@ class CallICState final BASE_EMBEDDED {
|
| const CallICState&));
|
|
|
| int arg_count() const { return argc_; }
|
| - CallType call_type() const { return call_type_; }
|
| -
|
| - bool CallAsMethod() const { return call_type_ == METHOD; }
|
|
|
| private:
|
| class ArgcBits : public BitField<int, 0, Code::kArgumentsBits> {};
|
| - class CallTypeBits : public BitField<CallType, Code::kArgumentsBits, 1> {};
|
|
|
| const int argc_;
|
| - const CallType call_type_;
|
| };
|
|
|
|
|
|
|