diff options
author | LemonBoy <LemonBoy@users.noreply.github.com> | 2018-10-09 19:24:03 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-10-09 19:24:02 +0200 |
commit | b97a7dbf3d1874b7dbf6b541ac57b27f8fbcd367 (patch) | |
tree | e702392e32574d09ed7f667985dcf8c42087e3c9 /compiler/vmdef.nim | |
parent | 85187d4ba379b4c08f77feb032632aa47837016f (diff) | |
download | Nim-b97a7dbf3d1874b7dbf6b541ac57b27f8fbcd367.tar.gz |
Make the registered passes local to the ModuleGraph (#9259)
Closes #9068
Diffstat (limited to 'compiler/vmdef.nim')
-rw-r--r-- | compiler/vmdef.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/vmdef.nim b/compiler/vmdef.nim index d642043dc..17f48da07 100644 --- a/compiler/vmdef.nim +++ b/compiler/vmdef.nim @@ -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 |