| Index: src/ic/ic-state.cc
|
| diff --git a/src/ic/ic-state.cc b/src/ic/ic-state.cc
|
| index efbcf03ce5ee6e6448563ff1c8d1e15656b29a96..f94803681bb8d6f8350f8f421386331cd051a887 100644
|
| --- a/src/ic/ic-state.cc
|
| +++ b/src/ic/ic-state.cc
|
| @@ -256,10 +256,10 @@ void BinaryOpICState::Update(Handle<Object> left, Handle<Object> right,
|
|
|
| if (old_extra_ic_state == GetExtraICState()) {
|
| // Tagged operations can lead to non-truncating HChanges
|
| - if (left->IsUndefined(isolate_) || left->IsBoolean()) {
|
| + if (left->IsOddball()) {
|
| left_kind_ = GENERIC;
|
| } else {
|
| - DCHECK(right->IsUndefined(isolate_) || right->IsBoolean());
|
| + DCHECK(right->IsOddball());
|
| right_kind_ = GENERIC;
|
| }
|
| }
|
|
|