mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-06 20:04:18 +00:00
@@ -1247,7 +1247,8 @@ proc trackProc*(c: PContext; s: PSym, body: PNode) =
|
||||
var partitions = computeGraphPartitions(s, body)
|
||||
if not t.hasSideEffect and t.hasDangerousAssign:
|
||||
t.hasSideEffect = varpartitions.hasSideEffect(partitions, mutationInfo)
|
||||
checkBorrowedLocations(partitions, g.config)
|
||||
if views in c.features:
|
||||
checkBorrowedLocations(partitions, g.config)
|
||||
|
||||
if sfThread in s.flags and t.gcUnsafe:
|
||||
if optThreads in g.config.globalOptions and optThreadAnalysis in g.config.globalOptions:
|
||||
|
||||
Reference in New Issue
Block a user