| Index: src/ic/ic-state.cc
|
| diff --git a/src/ic/ic-state.cc b/src/ic/ic-state.cc
|
| index 9251f5546112ed437870510035ffa672b002fba2..efbcf03ce5ee6e6448563ff1c8d1e15656b29a96 100644
|
| --- a/src/ic/ic-state.cc
|
| +++ b/src/ic/ic-state.cc
|
| @@ -270,8 +270,8 @@ BinaryOpICState::Kind BinaryOpICState::UpdateKind(Handle<Object> object,
|
| Kind kind) const {
|
| Kind new_kind = GENERIC;
|
| bool is_truncating = Token::IsTruncatingBinaryOp(op());
|
| - if (object->IsBoolean() && is_truncating) {
|
| - // Booleans will be automatically truncated by HChange.
|
| + if (object->IsOddball() && is_truncating) {
|
| + // Oddballs will be automatically truncated by HChange.
|
| new_kind = INT32;
|
| } else if (object->IsUndefined(isolate_)) {
|
| // Undefined will be automatically truncated by HChange.
|
|
|