Merge branch 'devel' into add_cline
This commit is contained in:
commit
dcdddec674
11 changed files with 69 additions and 49 deletions
|
|
@ -1944,7 +1944,7 @@ template injectG() {.dirty.} =
|
|||
graph.backend = newModuleList(graph)
|
||||
let g = BModuleList(graph.backend)
|
||||
|
||||
proc setupCgen*(graph: ModuleGraph; module: PSym; idgen: IdGenerator): PPassContext {.nosinks.} =
|
||||
proc setupCgen*(graph: ModuleGraph; module: PSym; idgen: IdGenerator): PPassContext =
|
||||
injectG()
|
||||
result = newModule(g, module, graph.config)
|
||||
result.idgen = idgen
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue