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