| Index: runtime/vm/flow_graph_compiler_arm.cc
|
| diff --git a/runtime/vm/flow_graph_compiler_arm.cc b/runtime/vm/flow_graph_compiler_arm.cc
|
| index 759eacdcfbd7f4917261427fb824f29f82aa58ff..7f78e0a66ca7a4b450d54c318f6b10a456cd37b1 100644
|
| --- a/runtime/vm/flow_graph_compiler_arm.cc
|
| +++ b/runtime/vm/flow_graph_compiler_arm.cc
|
| @@ -29,6 +29,7 @@ DEFINE_FLAG(bool, unbox_mints, true, "Optimize 64-bit integer arithmetic.");
|
| DEFINE_FLAG(bool, unbox_doubles, true, "Optimize double arithmetic.");
|
| DECLARE_FLAG(bool, enable_simd_inline);
|
| DECLARE_FLAG(bool, use_megamorphic_stub);
|
| +DECLARE_FLAG(bool, precompilation);
|
|
|
|
|
| void MegamorphicSlowPath::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| @@ -1133,7 +1134,7 @@ void FlowGraphCompiler::CompileGraph() {
|
| ASSERT(assembler()->constant_pool_allowed());
|
| GenerateDeferredCode();
|
|
|
| - if (is_optimizing() && !FLAG_precompiled_mode) {
|
| + if (is_optimizing() && !FLAG_precompilation) {
|
| // Leave enough space for patching in case of lazy deoptimization from
|
| // deferred code.
|
| for (intptr_t i = 0;
|
| @@ -1326,7 +1327,7 @@ void FlowGraphCompiler::EmitMegamorphicInstanceCall(
|
|
|
| RecordSafepoint(locs);
|
| const intptr_t deopt_id_after = Thread::ToDeoptAfter(deopt_id);
|
| - if (FLAG_precompiled_mode) {
|
| + if (FLAG_precompilation) {
|
| // Megamorphic calls may occur in slow path stubs.
|
| // If valid use try_index argument.
|
| if (try_index == CatchClauseNode::kInvalidTryIndex) {
|
|
|