control flow graphs: introduce 'join' points for easy analyses based on abstract interpretation
This commit is contained in:
parent
2fb8b1d132
commit
11022fea1b
3 changed files with 395 additions and 154 deletions
|
|
@ -1013,7 +1013,7 @@ proc trackProc*(g: ModuleGraph; s: PSym, body: PNode) =
|
|||
"declared lock level is $1, but real lock level is $2" %
|
||||
[$s.typ.lockLevel, $t.maxLockLevel])
|
||||
when defined(useDfa):
|
||||
if s.kind == skFunc:
|
||||
if s.name.s == "testp":
|
||||
dataflowAnalysis(s, body)
|
||||
when false: trackWrites(s, body)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue