Index: runtime/vm/flow_graph_optimizer.cc |
=================================================================== |
--- runtime/vm/flow_graph_optimizer.cc (revision 31331) |
+++ runtime/vm/flow_graph_optimizer.cc (working copy) |
@@ -4960,10 +4960,8 @@ |
use = use->next_use()) { |
Instruction* instr = use->instruction(); |
if (instr->IsPushArgument() || |
- (instr->IsStoreVMField() |
- && (use->use_index() != StoreVMFieldInstr::kObjectPos)) || |
- (instr->IsStoreInstanceField() |
- && (use->use_index() != StoreInstanceFieldInstr::kInstancePos)) || |
+ (instr->IsStoreVMField() && (use->use_index() != 1)) || |
+ (instr->IsStoreInstanceField() && (use->use_index() != 0)) || |
instr->IsStoreStaticField() || |
instr->IsPhi() || |
instr->IsAssertAssignable() || |