Chromium Code Reviews| Index: runtime/vm/flow_graph_optimizer.cc |
| =================================================================== |
| --- runtime/vm/flow_graph_optimizer.cc (revision 26233) |
| +++ runtime/vm/flow_graph_optimizer.cc (working copy) |
| @@ -46,6 +46,8 @@ |
| static bool ShouldInlineSimd() { |
| #if defined(TARGET_ARCH_MIPS) |
| return false; |
| +#elif defined(TARGET_ARCH_ARM) |
| + return CPUFeatures::neon_supported() && FLAG_enable_simd_inline; |
| #endif |
| return FLAG_enable_simd_inline; |
| } |