| Index: runtime/vm/flow_graph_inliner.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_inliner.cc (revision 35591)
|
| +++ runtime/vm/flow_graph_inliner.cc (working copy)
|
| @@ -870,7 +870,8 @@
|
| closure_call->PushArgumentAt(0)->value()->definition();
|
| Definition* context = new LoadFieldInstr(new Value(closure),
|
| Closure::context_offset(),
|
| - Type::ZoneHandle());
|
| + Type::ZoneHandle(),
|
| + closure_call->token_pos());
|
| context->set_ssa_temp_index(caller_graph()->alloc_ssa_temp_index());
|
| context->InsertAfter(callee_entry);
|
| StoreContextInstr* set_context =
|
| @@ -1410,7 +1411,9 @@
|
| cursor = AppendInstruction(cursor, redefinition);
|
| if (inlined_variants_[i].cid == kSmiCid) {
|
| CheckSmiInstr* check_smi =
|
| - new CheckSmiInstr(new Value(redefinition), call_->deopt_id());
|
| + new CheckSmiInstr(new Value(redefinition),
|
| + call_->deopt_id(),
|
| + call_->token_pos());
|
| check_smi->InheritDeoptTarget(call_);
|
| cursor = AppendInstruction(cursor, check_smi);
|
| } else {
|
| @@ -1426,7 +1429,8 @@
|
| CheckClassInstr* check_class =
|
| new CheckClassInstr(new Value(redefinition),
|
| call_->deopt_id(),
|
| - new_checks);
|
| + new_checks,
|
| + call_->token_pos());
|
| check_class->InheritDeoptTarget(call_);
|
| cursor = AppendInstruction(cursor, check_class);
|
| }
|
|
|