parent
496e9f74e1
commit
ce72d7ffc5
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue