Chromium Code Reviews| Index: src/x64/ic-x64.cc |
| =================================================================== |
| --- src/x64/ic-x64.cc (revision 3266) |
| +++ src/x64/ic-x64.cc (working copy) |
| @@ -790,6 +790,8 @@ |
| // top of FPU stack: value |
| if (array_type == kExternalFloatArray) { |
| __ fstp_s(Operand(rcx, rbx, times_4, 0)); |
| + __ movq(rax, rdx); // Return the original value. |
| + __ ret(0); |
| } else { |
| // Need to perform float-to-int conversion. |
| // Test the top of the FP stack for NaN. |