| Index: src/ppc/lithium-codegen-ppc.cc | 
| diff --git a/src/ppc/lithium-codegen-ppc.cc b/src/ppc/lithium-codegen-ppc.cc | 
| index 7b6052c3e624ef89eb678241ef74dbffcfadf5dc..2ab53e5588c12ee0bc3fcba4bad40483c343e0a6 100644 | 
| --- a/src/ppc/lithium-codegen-ppc.cc | 
| +++ b/src/ppc/lithium-codegen-ppc.cc | 
| @@ -2,6 +2,8 @@ | 
| // Use of this source code is governed by a BSD-style license that can be | 
| // found in the LICENSE file. | 
|  | 
| +#include <limits> | 
| + | 
| #include "src/v8.h" | 
|  | 
| #include "src/base/bits.h" | 
| @@ -4036,7 +4038,8 @@ void LCodeGen::DoMathPowHalf(LMathPowHalf* instr) { | 
| // Math.sqrt(-Infinity) == NaN | 
| Label skip, done; | 
|  | 
| -  __ LoadDoubleLiteral(temp, -V8_INFINITY, scratch0()); | 
| +  __ LoadDoubleLiteral(temp, -std::numeric_limits<double>::infinity(), | 
| +                       scratch0()); | 
| __ fcmpu(input, temp); | 
| __ bne(&skip); | 
| __ fneg(result, temp); | 
|  |