cleanup nfFirstWrite flags (#20500)

This commit is contained in:
Andreas Rumpf 2022-10-05 11:50:16 +02:00 • committed by GitHub
commit 9d858a29fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 6 deletions

View file

@ -218,7 +218,7 @@ proc initVar(a: PEffects, n: PNode; volatileCheck: bool) =
run outside of the while loop. This is why we need the check here that
the assignment is done in the same logical block as `x` was declared in.
]#
n.flags.incl nfFirstWrite2
n.flags.incl nfFirstWrite
proc initVarViaNew(a: PEffects, n: PNode) =
if n.kind != nkSym: return