| Index: runtime/vm/flow_graph.cc
|
| diff --git a/runtime/vm/flow_graph.cc b/runtime/vm/flow_graph.cc
|
| index 26e2eb1e7df3fb3e52a66f0a8a015656f3ec28b5..0ead0a280ec731cea8804166a4277d14c6031487 100644
|
| --- a/runtime/vm/flow_graph.cc
|
| +++ b/runtime/vm/flow_graph.cc
|
| @@ -940,7 +940,9 @@ void FlowGraph::InlineCall(Definition* call, FlowGraph* callee_graph) {
|
| exits.Sort(LowestBlockIdFirst);
|
| // Create a join of the returns.
|
| JoinEntryInstr* join =
|
| - new JoinEntryInstr(++max_block_id_, CatchClauseNode::kInvalidTryIndex);
|
| + new JoinEntryInstr(++max_block_id_,
|
| + CatchClauseNode::kInvalidTryIndex,
|
| + caller_entry->loop_depth());
|
| for (intptr_t i = 0; i < exits.length(); ++i) {
|
| ReturnInstr* exit_instr = exits[i]->last_instruction()->AsReturn();
|
| ASSERT(exit_instr != NULL);
|
|
|