mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:58:29 +00:00
Use ZoneHandle when creating ConstantInstr
BUG= TBR=fschneider@google.com Review URL: https://codereview.chromium.org/2446093002 .
This commit is contained in:
parent
f4ec20abac
commit
cb87f2d82f
|
@ -3833,7 +3833,7 @@ bool FlowGraphInliner::TryInlineRecognizedMethod(FlowGraph* flow_graph,
|
|||
*entry = new(Z) TargetEntryInstr(flow_graph->allocate_block_id(),
|
||||
call->GetBlock()->try_index());
|
||||
(*entry)->InheritDeoptTarget(Z, call);
|
||||
*last = new(Z) ConstantInstr(type);
|
||||
*last = new(Z) ConstantInstr(Type::ZoneHandle(Z, type.raw()));
|
||||
flow_graph->AppendTo(*entry, *last,
|
||||
call->deopt_id() != Thread::kNoDeoptId ?
|
||||
call->env() : NULL,
|
||||
|
|
Loading…
Reference in a new issue