Chromium Code Reviews| Index: runtime/vm/flow_graph_builder.cc |
| diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc |
| index b4b833ad9bd9c7a97ad7bfd6a73fe396d64403c2..ef6b1614a0a44ef6fb83350882f91202a519228b 100644 |
| --- a/runtime/vm/flow_graph_builder.cc |
| +++ b/runtime/vm/flow_graph_builder.cc |
| @@ -2634,6 +2634,7 @@ void EffectGraphVisitor::VisitLoadInstanceFieldNode( |
| for_instance.value(), |
| node->field().Offset(), |
| AbstractType::ZoneHandle(node->field().type())); |
| + load->set_field(&Field::ZoneHandle(node->field().raw())); |
|
srdjan
2013/05/02 21:00:54
That works, but I wonder why you do not reuse the
Vyacheslav Egorov (Google)
2013/05/02 21:20:25
Cleaned this up. set_field was requiring non-const
|
| ReturnDefinition(load); |
| } |