Index: src/hydrogen-gvn.cc |
diff --git a/src/hydrogen-gvn.cc b/src/hydrogen-gvn.cc |
index 12c536ad598978645653d35169b499dac76adfd5..4a946ea221599ec7225659add40a580a4f9831be 100644 |
--- a/src/hydrogen-gvn.cc |
+++ b/src/hydrogen-gvn.cc |
@@ -619,7 +619,7 @@ HGlobalValueNumberingPhase::CollectSideEffectsOnPathsToDominatedBlock( |
GVNFlagSet side_effects; |
for (int i = 0; i < dominated->predecessors()->length(); ++i) { |
HBasicBlock* block = dominated->predecessors()->at(i); |
- if (dominator->block_id() < block->block_id() && |
+ if (dominator->block_id() <= block->block_id() && |
block->block_id() < dominated->block_id() && |
visited_on_paths_.Add(block->block_id())) { |
side_effects.Add(block_side_effects_[block->block_id()]); |