| Index: src/compiler/js-typed-lowering.cc
|
| diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc
|
| index 0cf53373f637645ce74f73cdd5a367e23c495d08..6fad5ab6033527d76d069295c7c7c8e81f95dc1f 100644
|
| --- a/src/compiler/js-typed-lowering.cc
|
| +++ b/src/compiler/js-typed-lowering.cc
|
| @@ -222,7 +222,8 @@ Reduction JSTypedLowering::ReduceJSAdd(Node* node) {
|
| if (r.OneInputIs(Type::String())) {
|
| r.ConvertInputsToString();
|
| return r.ChangeToPureOperator(simplified()->StringAdd());
|
| - } else if (r.NeitherInputCanBe(Type::String())) {
|
| + }
|
| + if (r.NeitherInputCanBe(Type::String())) {
|
| r.ConvertInputsToNumber();
|
| return r.ChangeToPureOperator(simplified()->NumberAdd());
|
| }
|
|
|