Index: runtime/vm/flow_graph_compiler_ia32.cc |
diff --git a/runtime/vm/flow_graph_compiler_ia32.cc b/runtime/vm/flow_graph_compiler_ia32.cc |
index a8e9da5637e2a90e7c2fd2710d8ca71d1af58ccf..77931c9c735531c8dfa7bc177cf3b06bc7b6bb0a 100644 |
--- a/runtime/vm/flow_graph_compiler_ia32.cc |
+++ b/runtime/vm/flow_graph_compiler_ia32.cc |
@@ -1128,7 +1128,7 @@ void FlowGraphCompiler::CompileGraph() { |
__ int3(); |
GenerateDeferredCode(); |
- if (is_optimizing()) { |
+ if (is_optimizing() && Compiler::allow_recompilation()) { |
// Leave enough space for patching in case of lazy deoptimization from |
// deferred code. |
__ nop(CallPattern::pattern_length_in_bytes()); |