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 273a0e0e08f73a4112c1c5610da6149249d30c7c..f60be21c6929e268067c76f30013c626faa7d8c4 100644 |
--- a/runtime/vm/flow_graph_compiler_mips.cc |
+++ b/runtime/vm/flow_graph_compiler_mips.cc |
@@ -1142,11 +1142,13 @@ void FlowGraphCompiler::CompileGraph() { |
} |
} |
+ MaybeEmitCodeSourceMapEntry(TokenPosition::kDartCodePrologue); |
VisitBlocks(); |
__ break_(0); |
GenerateDeferredCode(); |
+ SaveCodeSize(); |
if (is_optimizing() && !FLAG_precompilation) { |
// Leave enough space for patching in case of lazy deoptimization from |
// deferred code. |
@@ -1158,6 +1160,7 @@ void FlowGraphCompiler::CompileGraph() { |
lazy_deopt_pc_offset_ = assembler()->CodeSize(); |
__ Branch(*StubCode::DeoptimizeLazy_entry()); |
} |
+ MaybeEmitCodeSourceMapEntry(TokenPosition::kDartCodeEpilogue); |
} |