diff options
Diffstat (limited to 'compiler/sempass2.nim')
-rw-r--r-- | compiler/sempass2.nim | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/compiler/sempass2.nim b/compiler/sempass2.nim index 1fc74d31c..f2e4fb02e 100644 --- a/compiler/sempass2.nim +++ b/compiler/sempass2.nim @@ -57,14 +57,6 @@ discard """ c() --> we need a stack of scopes for this analysis - - - Effect tracking: - - We track the effects per proc; forward declarations and indirect calls cause - problems: Forward declarations are computed lazily (we do this pass after - a whole module) and indirect calls are assumed the worst, unless they have - an effect annotation. """ type @@ -75,6 +67,7 @@ type owner: PSym init: seq[int] # list of initialized variables guards: TModel # nested guards + locked: seq[PNode] # locked locations PEffects = var TEffects proc isLocalVar(a: PEffects, s: PSym): bool = |