| 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 155e7f418f252cf6896bb6047a6e480b6621ffba..4022d7c3625a0d11e8b5222eb3be9a5a7c3dbe97 100644
|
| --- a/runtime/vm/flow_graph_compiler_mips.cc
|
| +++ b/runtime/vm/flow_graph_compiler_mips.cc
|
| @@ -1126,6 +1126,21 @@ void FlowGraphCompiler::CompileGraph() {
|
|
|
| __ break_(0);
|
| GenerateDeferredCode();
|
| +
|
| + BeginCodeSourceRange();
|
| + if (is_optimizing() && !FLAG_precompiled_mode) {
|
| + // Leave enough space for patching in case of lazy deoptimization.
|
| + for (intptr_t i = 0;
|
| + i < CallPattern::kDeoptCallLengthInInstructions;
|
| + ++i) {
|
| + __ nop();
|
| + }
|
| + lazy_deopt_return_pc_offset_ = assembler()->CodeSize();
|
| + __ Branch(*StubCode::DeoptimizeLazyFromReturn_entry());
|
| + lazy_deopt_throw_pc_offset_ = assembler()->CodeSize();
|
| + __ Branch(*StubCode::DeoptimizeLazyFromThrow_entry());
|
| + }
|
| + EndCodeSourceRange(TokenPosition::kDartCodeEpilogue);
|
| }
|
|
|
|
|
|
|