Index: runtime/vm/flow_graph_compiler_x64.cc |
diff --git a/runtime/vm/flow_graph_compiler_x64.cc b/runtime/vm/flow_graph_compiler_x64.cc |
index 0c0444a78f7d3e158af077157c3c5a22202a4991..67223b5dbb0edc298a8da24cbc50a35bd6750d46 100644 |
--- a/runtime/vm/flow_graph_compiler_x64.cc |
+++ b/runtime/vm/flow_graph_compiler_x64.cc |
@@ -1140,11 +1140,12 @@ void FlowGraphCompiler::CompileGraph() { |
BeginCodeSourceRange(); |
if (is_optimizing() && !FLAG_precompiled_mode) { |
- // Leave enough space for patching in case of lazy deoptimization from |
- // deferred code. |
+ // Leave enough space for patching in case of lazy deoptimization. |
__ nop(ShortCallPattern::pattern_length_in_bytes()); |
- lazy_deopt_pc_offset_ = assembler()->CodeSize(); |
- __ Jmp(*StubCode::DeoptimizeLazy_entry(), PP); |
+ lazy_deopt_return_pc_offset_ = assembler()->CodeSize(); |
+ __ Jmp(*StubCode::DeoptimizeLazyFromReturn_entry(), PP); |
+ lazy_deopt_throw_pc_offset_ = assembler()->CodeSize(); |
+ __ Jmp(*StubCode::DeoptimizeLazyFromThrow_entry(), PP); |
} |
EndCodeSourceRange(TokenPosition::kDartCodeEpilogue); |
} |