Index: src/hydrogen-store-elimination.cc |
diff --git a/src/hydrogen-store-elimination.cc b/src/hydrogen-store-elimination.cc |
index 2e6ee513877b3ea2b07f1d8fb9fc7f51c0212a0a..ed18e99e8172d202b17925dade85e7877abd0bd3 100644 |
--- a/src/hydrogen-store-elimination.cc |
+++ b/src/hydrogen-store-elimination.cc |
@@ -129,7 +129,7 @@ void HStoreEliminationPhase::ProcessInstr(HInstruction* instr, |
unobserved_.Rewind(0); |
return; |
} |
- if (instr->ChangesFlags().ContainsAnyOf(flags)) { |
+ if (instr->DependsOnFlags().ContainsAnyOf(flags)) { |
TRACE(("-- Observed stores at I%d (GVN flags)\n", instr->id())); |
unobserved_.Rewind(0); |
return; |