Index: runtime/vm/flow_graph_compiler.cc |
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc |
index 9616d6391a5e459f515adcefe26d4c848021c4d2..54f18c111fa370fe41fcbb2e95a19f585713fabf 100644 |
--- a/runtime/vm/flow_graph_compiler.cc |
+++ b/runtime/vm/flow_graph_compiler.cc |
@@ -202,6 +202,8 @@ FlowGraphCompiler::FlowGraphCompiler( |
LookupClass(Symbols::List()))), |
parallel_move_resolver_(this), |
pending_deoptimization_env_(NULL), |
+ entry_patch_pc_offset_(Code::kInvalidPc), |
+ patch_code_pc_offset_(Code::kInvalidPc), |
lazy_deopt_pc_offset_(Code::kInvalidPc), |
deopt_id_to_ic_data_(NULL), |
inlined_code_intervals_(Array::ZoneHandle(Object::empty_array().raw())), |
@@ -920,6 +922,8 @@ void FlowGraphCompiler::FinalizePcDescriptors(const Code& code) { |
pc_descriptors_list_->FinalizePcDescriptors(code.EntryPoint())); |
if (!is_optimizing_) descriptors.Verify(parsed_function_.function()); |
code.set_pc_descriptors(descriptors); |
+ code.set_entry_patch_pc_offset(entry_patch_pc_offset_); |
+ code.set_patch_code_pc_offset(patch_code_pc_offset_); |
code.set_lazy_deopt_pc_offset(lazy_deopt_pc_offset_); |
} |