Make the registered passes local to the ModuleGraph (#9259)

Closes #9068
This commit is contained in:
LemonBoy 2018-10-09 19:24:03 +02:00 • committed by Andreas Rumpf
commit b97a7dbf3d
12 changed files with 60 additions and 64 deletions

View file

@ -38,7 +38,7 @@ type
# if we encounter the 2nd yield statement
next: PTransCon # for stacking
TTransfContext = object of passes.TPassContext
TTransfContext = object of TPassContext
module: PSym
transCon: PTransCon # top of a TransCon stack
inlining: int # > 0 if we are in inlining context (copy vars)