Index: runtime/vm/flow_graph_compiler_arm.cc |
=================================================================== |
--- runtime/vm/flow_graph_compiler_arm.cc (revision 34252) |
+++ runtime/vm/flow_graph_compiler_arm.cc (working copy) |
@@ -23,6 +23,7 @@ |
namespace dart { |
DEFINE_FLAG(bool, trap_on_deoptimization, false, "Trap on deoptimization."); |
+DEFINE_FLAG(bool, unbox_mints, true, "Optimize 64-bit integer arithmetic."); |
DECLARE_FLAG(int, optimization_counter_threshold); |
DECLARE_FLAG(int, reoptimization_counter_threshold); |
DECLARE_FLAG(bool, enable_type_checks); |
@@ -40,7 +41,7 @@ |
bool FlowGraphCompiler::SupportsUnboxedMints() { |
- return false; |
+ return TargetCPUFeatures::neon_supported() && FLAG_unbox_mints; |
} |