summary refs log tree commit diff stats
path: root/compiler/vmdef.nim
diff options
context:
space:
mode:
authorLemonBoy <LemonBoy@users.noreply.github.com>2018-10-09 19:24:03 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-10-09 19:24:02 +0200
commitb97a7dbf3d1874b7dbf6b541ac57b27f8fbcd367 (patch)
treee702392e32574d09ed7f667985dcf8c42087e3c9 /compiler/vmdef.nim
parent85187d4ba379b4c08f77feb032632aa47837016f (diff)
downloadNim-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.nim2
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