| Index: src/ic/ic-state.h
|
| diff --git a/src/ic/ic-state.h b/src/ic/ic-state.h
|
| index f4ed8ac79ca85a01bd2cbc0ca86163851fbb3bf1..349b3b710b867cbaa2fde608d6ea9c525c57de9e 100644
|
| --- a/src/ic/ic-state.h
|
| +++ b/src/ic/ic-state.h
|
| @@ -60,9 +60,8 @@ std::ostream& operator<<(std::ostream& os, const CallICState& s);
|
| class BinaryOpICState final BASE_EMBEDDED {
|
| public:
|
| BinaryOpICState(Isolate* isolate, ExtraICState extra_ic_state);
|
| - BinaryOpICState(Isolate* isolate, Token::Value op, Strength strength)
|
| + BinaryOpICState(Isolate* isolate, Token::Value op)
|
| : op_(op),
|
| - strong_(is_strong(strength)),
|
| left_kind_(NONE),
|
| right_kind_(NONE),
|
| result_kind_(NONE),
|
| @@ -109,10 +108,6 @@ class BinaryOpICState final BASE_EMBEDDED {
|
| return Max(left_kind_, right_kind_) == GENERIC;
|
| }
|
|
|
| - Strength strength() const {
|
| - return strong_ ? Strength::STRONG : Strength::WEAK;
|
| - }
|
| -
|
| // Returns true if the IC should enable the inline smi code (i.e. if either
|
| // parameter may be a smi).
|
| bool UseInlinedSmiCode() const {
|
| @@ -151,15 +146,13 @@ class BinaryOpICState final BASE_EMBEDDED {
|
| class OpField : public BitField<int, 0, 4> {};
|
| class ResultKindField : public BitField<Kind, 4, 3> {};
|
| class LeftKindField : public BitField<Kind, 7, 3> {};
|
| - class StrengthField : public BitField<bool, 10, 1> {};
|
| // When fixed right arg is set, we don't need to store the right kind.
|
| // Thus the two fields can overlap.
|
| - class HasFixedRightArgField : public BitField<bool, 11, 1> {};
|
| - class FixedRightArgValueField : public BitField<int, 12, 4> {};
|
| - class RightKindField : public BitField<Kind, 12, 3> {};
|
| + class HasFixedRightArgField : public BitField<bool, 10, 1> {};
|
| + class FixedRightArgValueField : public BitField<int, 11, 4> {};
|
| + class RightKindField : public BitField<Kind, 11, 3> {};
|
|
|
| Token::Value op_;
|
| - bool strong_;
|
| Kind left_kind_;
|
| Kind right_kind_;
|
| Kind result_kind_;
|
|
|