| Index: src/ic/ic-state.h
|
| diff --git a/src/ic/ic-state.h b/src/ic/ic-state.h
|
| index f4ed8ac79ca85a01bd2cbc0ca86163851fbb3bf1..d676e70bf3783cdfe4fc2cd8a3a1b23316e55ca9 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,7 +146,7 @@ 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> {};
|
| + // Bit 10 is unused, feel free to use at own discretion.
|
| // 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> {};
|
| @@ -159,7 +154,6 @@ class BinaryOpICState final BASE_EMBEDDED {
|
| class RightKindField : public BitField<Kind, 12, 3> {};
|
|
|
| Token::Value op_;
|
| - bool strong_;
|
| Kind left_kind_;
|
| Kind right_kind_;
|
| Kind result_kind_;
|
|
|