Index: src/ic/ic-state.cc |
diff --git a/src/ic/ic-state.cc b/src/ic/ic-state.cc |
index 06e3dbee1b0a03546b95b49c52ea23b88e837941..933803c65358eb11d2b7176aab53f4bd7efc4320 100644 |
--- a/src/ic/ic-state.cc |
+++ b/src/ic/ic-state.cc |
@@ -37,7 +37,6 @@ BinaryOpICState::BinaryOpICState(Isolate* isolate, ExtraICState extra_ic_state) |
isolate_(isolate) { |
op_ = |
static_cast<Token::Value>(FIRST_TOKEN + OpField::decode(extra_ic_state)); |
- strong_ = StrengthField::decode(extra_ic_state); |
left_kind_ = LeftKindField::decode(extra_ic_state); |
right_kind_ = fixed_right_arg_.IsJust() |
? (Smi::IsValid(fixed_right_arg_.FromJust()) ? SMI : INT32) |
@@ -51,7 +50,7 @@ BinaryOpICState::BinaryOpICState(Isolate* isolate, ExtraICState extra_ic_state) |
ExtraICState BinaryOpICState::GetExtraICState() const { |
ExtraICState extra_ic_state = |
OpField::encode(op_ - FIRST_TOKEN) | LeftKindField::encode(left_kind_) | |
- ResultKindField::encode(result_kind_) | StrengthField::encode(strong_) | |
+ ResultKindField::encode(result_kind_) | |
HasFixedRightArgField::encode(fixed_right_arg_.IsJust()); |
if (fixed_right_arg_.IsJust()) { |
extra_ic_state = FixedRightArgValueField::update( |
@@ -72,7 +71,7 @@ void BinaryOpICState::GenerateAheadOfTime( |
// Generated list of commonly used stubs |
#define GENERATE(op, left_kind, right_kind, result_kind) \ |
do { \ |
- BinaryOpICState state(isolate, op, Strength::WEAK); \ |
+ BinaryOpICState state(isolate, op); \ |
state.left_kind_ = left_kind; \ |
state.fixed_right_arg_ = Nothing<int>(); \ |
state.right_kind_ = right_kind; \ |
@@ -174,7 +173,7 @@ void BinaryOpICState::GenerateAheadOfTime( |
#undef GENERATE |
#define GENERATE(op, left_kind, fixed_right_arg_value, result_kind) \ |
do { \ |
- BinaryOpICState state(isolate, op, Strength::WEAK); \ |
+ BinaryOpICState state(isolate, op); \ |
state.left_kind_ = left_kind; \ |
state.fixed_right_arg_ = Just(fixed_right_arg_value); \ |
state.right_kind_ = SMI; \ |
@@ -208,7 +207,6 @@ Type* BinaryOpICState::GetResultType() const { |
std::ostream& operator<<(std::ostream& os, const BinaryOpICState& s) { |
os << "(" << Token::Name(s.op_); |
if (s.CouldCreateAllocationMementos()) os << "_CreateAllocationMementos"; |
- if (is_strong(s.strength())) os << "_Strong"; |
os << ":" << BinaryOpICState::KindToString(s.left_kind_) << "*"; |
if (s.fixed_right_arg_.IsJust()) { |
os << s.fixed_right_arg_.FromJust(); |