Revert "fixes #12340; enable refc with move analyzer (#23782)"

This reverts commit 8038ad4e58.
This commit is contained in:
narimiran
2025-03-10 10:55:14 +01:00
parent 82974d91ce
commit 9cf0d07b9e
3 changed files with 3 additions and 14 deletions

View File

@@ -137,9 +137,8 @@ proc createTypeBoundOps(tracked: PEffects, typ: PType; info: TLineInfo; explicit
createTypeBoundOps(tracked.graph, tracked.c, realType.lastSon, info)
createTypeBoundOps(tracked.graph, tracked.c, typ, info, tracked.c.idgen)
if tracked.config.selectedGC == gcRefc or
optSeqDestructors in tracked.config.globalOptions or
tfHasAsgn in typ.flags:
if (tfHasAsgn in typ.flags) or
optSeqDestructors in tracked.config.globalOptions:
tracked.owner.flags.incl sfInjectDestructors
proc isLocalSym(a: PEffects, s: PSym): bool =