| Index: runtime/vm/flow_graph_optimizer.cc
|
| diff --git a/runtime/vm/flow_graph_optimizer.cc b/runtime/vm/flow_graph_optimizer.cc
|
| index 848cdb06c77ccb5c5c6c7d9f5a474a8da902f982..e92721a45d743d3f5429e02922286ca778c44fb7 100644
|
| --- a/runtime/vm/flow_graph_optimizer.cc
|
| +++ b/runtime/vm/flow_graph_optimizer.cc
|
| @@ -4563,12 +4563,13 @@ void FlowGraphOptimizer::VisitStaticCall(StaticCallInstr* call) {
|
| ReplaceCall(call, min_max);
|
| }
|
| }
|
| - } else if (recognized_kind == MethodRecognizer::kMathDoublePow) {
|
| + } else if ((recognized_kind == MethodRecognizer::kMathDoublePow) ||
|
| + (recognized_kind == MethodRecognizer::kMathAtan) ||
|
| + (recognized_kind == MethodRecognizer::kMathAtan2)) {
|
| if (FLAG_precompilation) {
|
| // No UnboxDouble instructons allowed.
|
| return;
|
| }
|
| - // We know that first argument is double, the second is num.
|
| // InvokeMathCFunctionInstr requires unboxed doubles. UnboxDouble
|
| // instructions contain type checks and conversions to double.
|
| ZoneGrowableArray<Value*>* args =
|
|
|