| Index: src/crankshaft/hydrogen-instructions.h
 | 
| diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h
 | 
| index 514882145f25caffde2ab63445e74542c8c66e6a..b10e3ab819c6fed211ddf983c4415285ebe9872b 100644
 | 
| --- a/src/crankshaft/hydrogen-instructions.h
 | 
| +++ b/src/crankshaft/hydrogen-instructions.h
 | 
| @@ -4370,6 +4370,11 @@ class HAdd final : public HArithmeticBinaryOperation {
 | 
|        SetChangesFlag(kNewSpacePromotion);
 | 
|        ClearFlag(kAllowUndefinedAsNaN);
 | 
|      }
 | 
| +    if (!right()->type().IsTaggedNumber() &&
 | 
| +        !right()->representation().IsDouble() &&
 | 
| +        !right()->representation().IsSmiOrInteger32()) {
 | 
| +      ClearFlag(kAllowUndefinedAsNaN);
 | 
| +    }
 | 
|    }
 | 
|  
 | 
|    Representation RepresentationFromInputs() override;
 | 
| 
 |