| Index: src/arm/lithium-codegen-arm.cc
|
| ===================================================================
|
| --- src/arm/lithium-codegen-arm.cc (revision 13104)
|
| +++ src/arm/lithium-codegen-arm.cc (working copy)
|
| @@ -4726,7 +4726,6 @@
|
|
|
| if (instr->truncating()) {
|
| Register scratch3 = ToRegister(instr->temp2());
|
| - SwVfpRegister single_scratch = double_scratch.low();
|
| ASSERT(!scratch3.is(input_reg) &&
|
| !scratch3.is(scratch1) &&
|
| !scratch3.is(scratch2));
|
| @@ -4748,7 +4747,7 @@
|
|
|
| __ EmitECMATruncate(input_reg,
|
| double_scratch2,
|
| - single_scratch,
|
| + double_scratch,
|
| scratch1,
|
| scratch2,
|
| scratch3);
|
| @@ -4830,20 +4829,19 @@
|
| Register scratch1 = scratch0();
|
| Register scratch2 = ToRegister(instr->temp());
|
| DwVfpRegister double_input = ToDoubleRegister(instr->value());
|
| + DwVfpRegister double_scratch = double_scratch0();
|
|
|
| Label done;
|
|
|
| if (instr->truncating()) {
|
| Register scratch3 = ToRegister(instr->temp2());
|
| - SwVfpRegister single_scratch = double_scratch0().low();
|
| __ EmitECMATruncate(result_reg,
|
| double_input,
|
| - single_scratch,
|
| + double_scratch,
|
| scratch1,
|
| scratch2,
|
| scratch3);
|
| } else {
|
| - DwVfpRegister double_scratch = double_scratch0();
|
| __ EmitVFPTruncate(kRoundToMinusInf,
|
| result_reg,
|
| double_input,
|
|
|