| Index: runtime/vm/flow_graph_type_propagator.cc
|
| diff --git a/runtime/vm/flow_graph_type_propagator.cc b/runtime/vm/flow_graph_type_propagator.cc
|
| index 7e88f12e77687684fab3ec84e10a51ce0aad2ac6..f7264d90ff41ef919522e2ee4018dd46cacbcf0d 100644
|
| --- a/runtime/vm/flow_graph_type_propagator.cc
|
| +++ b/runtime/vm/flow_graph_type_propagator.cc
|
| @@ -182,7 +182,7 @@ void FlowGraphTypePropagator::SetTypeOf(Definition* def, CompileType* type) {
|
| void FlowGraphTypePropagator::SetCid(Definition* def, intptr_t cid) {
|
| CompileType* current = TypeOf(def);
|
| if (current->IsNone() || (current->ToCid() != cid)) {
|
| - SetTypeOf(def, ZoneCompileType::Wrap(CompileType::FromCid(cid)));
|
| + SetTypeOf(def, new CompileType(CompileType::FromCid(cid)));
|
| }
|
| }
|
|
|
| @@ -275,7 +275,7 @@ void FlowGraphTypePropagator::VisitGuardFieldClass(
|
| (current->is_nullable() && !guard->field().is_nullable())) {
|
| const bool is_nullable =
|
| guard->field().is_nullable() && current->is_nullable();
|
| - SetTypeOf(def, ZoneCompileType::Wrap(CompileType(is_nullable, cid, NULL)));
|
| + SetTypeOf(def, new CompileType(is_nullable, cid, NULL));
|
| }
|
| }
|
|
|
| @@ -283,7 +283,7 @@ void FlowGraphTypePropagator::VisitGuardFieldClass(
|
| void FlowGraphTypePropagator::VisitAssertAssignable(
|
| AssertAssignableInstr* instr) {
|
| SetTypeOf(instr->value()->definition(),
|
| - ZoneCompileType::Wrap(instr->ComputeType()));
|
| + new CompileType(instr->ComputeType()));
|
| }
|
|
|
|
|
|
|