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

@ -34,10 +34,10 @@ import
times, ropes, math, passes, ccgutils, wordrecg, renderer,
intsets, cgmeth, lowerings, sighashes, lineinfos, rodutils, pathutils
from modulegraphs import ModuleGraph
from modulegraphs import ModuleGraph, PPassContext
type
TJSGen = object of TPassContext
TJSGen = object of PPassContext
module: PSym
graph: ModuleGraph
config: ConfigRef