| Index: runtime/vm/intermediate_language_arm64.cc
|
| diff --git a/runtime/vm/intermediate_language_arm64.cc b/runtime/vm/intermediate_language_arm64.cc
|
| index c4f0fdc2d4fd6efdd248caf00dfd6b94cdc04cec..b5f235f79e8a7e3cca70bdf7e4acd2585782a2d0 100644
|
| --- a/runtime/vm/intermediate_language_arm64.cc
|
| +++ b/runtime/vm/intermediate_language_arm64.cc
|
| @@ -4465,15 +4465,6 @@ void BinaryInt32x4OpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
|
|
| LocationSummary* MathUnaryInstr::MakeLocationSummary(Zone* zone,
|
| bool opt) const {
|
| - if ((kind() == MathUnaryInstr::kSin) || (kind() == MathUnaryInstr::kCos)) {
|
| - const intptr_t kNumInputs = 1;
|
| - const intptr_t kNumTemps = 0;
|
| - LocationSummary* summary = new(zone) LocationSummary(
|
| - zone, kNumInputs, kNumTemps, LocationSummary::kCall);
|
| - summary->set_in(0, Location::FpuRegisterLocation(V0));
|
| - summary->set_out(0, Location::FpuRegisterLocation(V0));
|
| - return summary;
|
| - }
|
| ASSERT((kind() == MathUnaryInstr::kSqrt) ||
|
| (kind() == MathUnaryInstr::kDoubleSquare));
|
| const intptr_t kNumInputs = 1;
|
| @@ -4496,9 +4487,7 @@ void MathUnaryInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| const VRegister result = locs()->out(0).fpu_reg();
|
| __ fmuld(result, val, val);
|
| } else {
|
| - ASSERT((kind() == MathUnaryInstr::kSin) ||
|
| - (kind() == MathUnaryInstr::kCos));
|
| - __ CallRuntime(TargetFunction(), InputCount());
|
| + UNREACHABLE();
|
| }
|
| }
|
|
|
|
|