Index: runtime/vm/flow_graph_inliner.cc |
diff --git a/runtime/vm/flow_graph_inliner.cc b/runtime/vm/flow_graph_inliner.cc |
index 36e51a1a5087eae835f27afb56aecb6f60a551d5..3a049c2b317aa9107a096567979337fe9d04db2a 100644 |
--- a/runtime/vm/flow_graph_inliner.cc |
+++ b/runtime/vm/flow_graph_inliner.cc |
@@ -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())); |
siva
2016/10/25 10:42:32
The type handle seems to be created above, would i
|
flow_graph->AppendTo(*entry, *last, |
call->deopt_id() != Thread::kNoDeoptId ? |
call->env() : NULL, |