Index: src/compiler/schedule.cc |
diff --git a/src/compiler/schedule.cc b/src/compiler/schedule.cc |
index eb3dda8c260547ed7f0981d4c3dcc90d98b74a6b..dcc84b31edbc9b57eff8ee03f0866a8993b1506d 100644 |
--- a/src/compiler/schedule.cc |
+++ b/src/compiler/schedule.cc |
@@ -407,7 +407,7 @@ void Schedule::PropagateDeferredMark() { |
if (!block->deferred()) { |
bool deferred = block->PredecessorCount() > 0; |
for (auto pred : block->predecessors()) { |
- if (!pred->deferred()) { |
+ if (!pred->deferred() && (pred->rpo_number() < block->rpo_number())) { |
deferred = false; |
} |
} |