diff options
Diffstat (limited to 'src/passes/CodePushing.cpp')
-rw-r--r-- | src/passes/CodePushing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/CodePushing.cpp b/src/passes/CodePushing.cpp index 1ab037b12..20f16b145 100644 --- a/src/passes/CodePushing.cpp +++ b/src/passes/CodePushing.cpp @@ -293,7 +293,7 @@ private: // if we can push or not. EffectAnalyzer postIfEffects(passOptions, module); for (Index i = pushPoint + 1; i < list.size(); i++) { - postIfEffects.walk(list[pushPoint]); + postIfEffects.walk(list[i]); } // Start at the instruction right before the push point, and go back from |