summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--compiler/ccgtypes.nim3
-rw-r--r--compiler/cgen.nim1
-rw-r--r--compiler/vmops.nim1
3 files changed, 0 insertions, 5 deletions
diff --git a/compiler/ccgtypes.nim b/compiler/ccgtypes.nim
index d05c4cd8b..492e1f181 100644
--- a/compiler/ccgtypes.nim
+++ b/compiler/ccgtypes.nim
@@ -12,7 +12,6 @@
 # ------------------------- Name Mangling --------------------------------
 
 import sighashes, modulegraphs
-from lowerings import createObj
 
 proc genProcHeader(m: BModule, prc: PSym, asPtr: bool = false): Rope
 
@@ -256,8 +255,6 @@ proc addAbiCheck(m: BModule, t: PType, name: Rope) =
     m.s[cfsTypeInfo].addf("NIM_STATIC_ASSERT(sizeof($1) == $2, $3);$n", [name, rope(size), msg2.rope])
     # see `testCodegenABICheck` for example error message it generates
 
-from ccgutils import ccgIntroducedPtr
-export ccgIntroducedPtr
 
 proc fillResult(conf: ConfigRef; param: PNode) =
   fillLoc(param.sym.loc, locParam, param, ~"Result",
diff --git a/compiler/cgen.nim b/compiler/cgen.nim
index f55da7f65..a06a87172 100644
--- a/compiler/cgen.nim
+++ b/compiler/cgen.nim
@@ -23,7 +23,6 @@ when not defined(leanCompiler):
 import strutils except `%` # collides with ropes.`%`
 
 from ic / ic import ModuleBackendFlag
-from modulegraphs import ModuleGraph, PPassContext
 import dynlib
 
 when not declared(dynlib.libCandidates):
diff --git a/compiler/vmops.nim b/compiler/vmops.nim
index a1a4996b2..08225b065 100644
--- a/compiler/vmops.nim
+++ b/compiler/vmops.nim
@@ -29,7 +29,6 @@ from std/hashes import hash
 from std/osproc import nil
 from system/formatfloat import addFloatRoundtrip, addFloatSprintf
 
-from sighashes import symBodyDigest
 
 # There are some useful procs in vmconv.
 import vmconv