| Index: runtime/vm/flow_graph_builder.h
|
| diff --git a/runtime/vm/flow_graph_builder.h b/runtime/vm/flow_graph_builder.h
|
| index 825b381879e759fe2d3256800003139c45423406..076959b8df8c76e096d97581f17ba0c9ab399501 100644
|
| --- a/runtime/vm/flow_graph_builder.h
|
| +++ b/runtime/vm/flow_graph_builder.h
|
| @@ -50,11 +50,17 @@ class InliningContext: public ValueObject {
|
| ASSERT(exits_[i].exit_block != NULL);
|
| return exits_[i].exit_block;
|
| }
|
| +
|
| Instruction* LastInstructionAt(intptr_t i) const {
|
| - return exits_[i].exit_return->previous();
|
| + return ReturnAt(i)->previous();
|
| }
|
| +
|
| Value* ValueAt(intptr_t i) const {
|
| - return exits_[i].exit_return->value();
|
| + return ReturnAt(i)->value();
|
| + }
|
| +
|
| + ReturnInstr* ReturnAt(intptr_t i) const {
|
| + return exits_[i].exit_return;
|
| }
|
|
|
| static int LowestBlockIdFirst(const Data* a, const Data* b);
|
|
|