Index: runtime/vm/flow_graph_compiler_mips.cc |
diff --git a/runtime/vm/flow_graph_compiler_mips.cc b/runtime/vm/flow_graph_compiler_mips.cc |
index 120795c57c4347d5bd06227ca58bc5cd2be1912b..7bc12680092c29a55d7604765cebf378f1fa24ca 100644 |
--- a/runtime/vm/flow_graph_compiler_mips.cc |
+++ b/runtime/vm/flow_graph_compiler_mips.cc |
@@ -1126,7 +1126,7 @@ void FlowGraphCompiler::CompileGraph() { |
__ break_(0); |
GenerateDeferredCode(); |
- if (is_optimizing()) { |
+ if (is_optimizing() && Compiler::allow_recompilation()) { |
// Leave enough space for patching in case of lazy deoptimization from |
// deferred code. |
for (intptr_t i = 0; |