| Index: runtime/vm/intermediate_language_ia32.cc
|
| ===================================================================
|
| --- runtime/vm/intermediate_language_ia32.cc (revision 19004)
|
| +++ runtime/vm/intermediate_language_ia32.cc (working copy)
|
| @@ -2714,15 +2714,11 @@
|
|
|
| LocationSummary* DoubleToDoubleInstr::MakeLocationSummary() const {
|
| const intptr_t kNumInputs = 1;
|
| - const intptr_t kNumTemps =
|
| - (recognized_kind() == MethodRecognizer::kDoubleRound) ? 1 : 0;
|
| + const intptr_t kNumTemps = 0;
|
| LocationSummary* result =
|
| new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kNoCall);
|
| result->set_in(0, Location::RequiresFpuRegister());
|
| result->set_out(Location::RequiresFpuRegister());
|
| - if (recognized_kind() == MethodRecognizer::kDoubleRound) {
|
| - result->set_temp(0, Location::RequiresFpuRegister());
|
| - }
|
| return result;
|
| }
|
|
|
| @@ -2740,11 +2736,6 @@
|
| case MethodRecognizer::kDoubleCeil:
|
| __ roundsd(result, value, Assembler::kRoundUp);
|
| break;
|
| - case MethodRecognizer::kDoubleRound: {
|
| - XmmRegister temp = locs()->temp(0).fpu_reg();
|
| - __ DoubleRound(result, value, temp);
|
| - break;
|
| - }
|
| default:
|
| UNREACHABLE();
|
| }
|
|
|