diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ir/effects.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/effects.h b/src/ir/effects.h index ff641e4d9..d2afc8133 100644 --- a/src/ir/effects.h +++ b/src/ir/effects.h @@ -504,7 +504,7 @@ struct EffectAnalyzer }; uint32_t getSideEffects() const { uint32_t effects = 0; - if (transfersControlFlow()) { + if (branchesOut || hasExternalBreakTargets()) { effects |= SideEffects::Branches; } if (calls) { |