| Index: runtime/vm/flow_graph.cc
|
| diff --git a/runtime/vm/flow_graph.cc b/runtime/vm/flow_graph.cc
|
| index 95961cb8dffc46024e77ba0c31b5faeadf032ced..ba53ebc3ad7e7e3513bd8edf40b1ec4ab22408f8 100644
|
| --- a/runtime/vm/flow_graph.cc
|
| +++ b/runtime/vm/flow_graph.cc
|
| @@ -944,7 +944,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);
|
|
|