| Index: runtime/vm/intermediate_language_mips.cc
|
| ===================================================================
|
| --- runtime/vm/intermediate_language_mips.cc (revision 25815)
|
| +++ runtime/vm/intermediate_language_mips.cc (working copy)
|
| @@ -3074,7 +3074,7 @@
|
| }
|
|
|
|
|
| -LocationSummary* MathSqrtInstr::MakeLocationSummary() const {
|
| +LocationSummary* MathUnaryInstr::MakeLocationSummary() const {
|
| const intptr_t kNumInputs = 1;
|
| const intptr_t kNumTemps = 0;
|
| LocationSummary* summary =
|
| @@ -3085,8 +3085,12 @@
|
| }
|
|
|
|
|
| -void MathSqrtInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| - __ sqrtd(locs()->out().fpu_reg(), locs()->in(0).fpu_reg());
|
| +void MathUnaryInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| + if (kind() == MethodRecognizer::kMathSqrt) {
|
| + __ sqrtd(locs()->out().fpu_reg(), locs()->in(0).fpu_reg());
|
| + } else {
|
| + UNIMPLEMENTED();
|
| + }
|
| }
|
|
|
|
|
|
|