Index: runtime/vm/flow_graph_optimizer.cc |
=================================================================== |
--- runtime/vm/flow_graph_optimizer.cc (revision 32974) |
+++ runtime/vm/flow_graph_optimizer.cc (working copy) |
@@ -6,6 +6,7 @@ |
#include "vm/bit_vector.h" |
#include "vm/cha.h" |
+#include "vm/cpu.h" |
#include "vm/dart_entry.h" |
#include "vm/flow_graph_builder.h" |
#include "vm/flow_graph_compiler.h" |
@@ -2778,7 +2779,7 @@ |
case MethodRecognizer::kDoubleTruncate: |
case MethodRecognizer::kDoubleFloor: |
case MethodRecognizer::kDoubleCeil: |
- if (!CPUFeatures::double_truncate_round_supported()) { |
+ if (!TargetCPUFeatures::double_truncate_round_supported()) { |
ReplaceWithMathCFunction(call, recognized_kind); |
} else { |
AddReceiverCheck(call); |