From b97a7dbf3d1874b7dbf6b541ac57b27f8fbcd367 Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Tue, 9 Oct 2018 19:24:03 +0200 Subject: Make the registered passes local to the ModuleGraph (#9259) Closes #9068 --- compiler/vmdef.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/vmdef.nim') 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 -- cgit 1.4.1-2-gfad0