| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 4ff8a6817a502a3b160b3d51171cd536f4ea52fd..466786cf3f5b3205c26b8d1b5cf6a38518beddf3 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -845,8 +845,8 @@ void MathPowStub::Generate(MacroAssembler* masm) {
|
| __ bind(&try_arithmetic_simplification);
|
| // Skip to runtime if possibly NaN (indicated by the indefinite integer).
|
| __ cvttsd2si(exponent, Operand(double_exponent));
|
| - __ cmp(exponent, Immediate(0x80000000u));
|
| - __ j(equal, &call_runtime);
|
| + __ cmp(exponent, Immediate(0x1));
|
| + __ j(overflow, &call_runtime);
|
|
|
| if (exponent_type_ == ON_STACK) {
|
| // Detect square root case. Crankshaft detects constant +/-0.5 at
|
|
|