Chromium Code Reviews| Index: runtime/vm/flow_graph_builder.cc |
| =================================================================== |
| --- runtime/vm/flow_graph_builder.cc (revision 12267) |
| +++ runtime/vm/flow_graph_builder.cc (working copy) |
| @@ -2131,8 +2131,10 @@ |
| ValueGraphVisitor for_instance(owner(), temp_index()); |
| node->instance()->Visit(&for_instance); |
| Append(for_instance); |
| - LoadInstanceFieldInstr* load = new LoadInstanceFieldInstr( |
| - node->field(), for_instance.value()); |
| + LoadVMFieldInstr* load = new LoadVMFieldInstr( |
|
srdjan
2012/09/12 17:22:34
Name is not good, since VM field denotes a field t
Florian Schneider
2012/09/12 17:31:16
Done.
|
| + for_instance.value(), |
| + node->field().Offset(), |
| + AbstractType::ZoneHandle(node->field().type())); |
| ReturnDefinition(load); |
| } |