Make the registered passes local to the ModuleGraph (#9259)
Closes #9068
This commit is contained in:
parent
85187d4ba3
commit
b97a7dbf3d
12 changed files with 60 additions and 64 deletions
|
|
@ -191,7 +191,7 @@ type
|
|||
VmCallback* = proc (args: VmArgs) {.closure.}
|
||||
|
||||
PCtx* = ref TCtx
|
||||
TCtx* = object of passes.TPassContext # code gen context
|
||||
TCtx* = object of TPassContext # code gen context
|
||||
code*: seq[TInstr]
|
||||
debug*: seq[TLineInfo] # line info for every instruction; kept separate
|
||||
# to not slow down interpretation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue