more minor bootstrapping cleanups (#18759)
This commit is contained in:
parent
5eba372570
commit
719718df2f
3 changed files with 0 additions and 5 deletions
|
|
@ -12,7 +12,6 @@
|
||||||
# ------------------------- Name Mangling --------------------------------
|
# ------------------------- Name Mangling --------------------------------
|
||||||
|
|
||||||
import sighashes, modulegraphs
|
import sighashes, modulegraphs
|
||||||
from lowerings import createObj
|
|
||||||
|
|
||||||
proc genProcHeader(m: BModule, prc: PSym, asPtr: bool = false): Rope
|
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])
|
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
|
# see `testCodegenABICheck` for example error message it generates
|
||||||
|
|
||||||
from ccgutils import ccgIntroducedPtr
|
|
||||||
export ccgIntroducedPtr
|
|
||||||
|
|
||||||
proc fillResult(conf: ConfigRef; param: PNode) =
|
proc fillResult(conf: ConfigRef; param: PNode) =
|
||||||
fillLoc(param.sym.loc, locParam, param, ~"Result",
|
fillLoc(param.sym.loc, locParam, param, ~"Result",
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,6 @@ when not defined(leanCompiler):
|
||||||
import strutils except `%` # collides with ropes.`%`
|
import strutils except `%` # collides with ropes.`%`
|
||||||
|
|
||||||
from ic / ic import ModuleBackendFlag
|
from ic / ic import ModuleBackendFlag
|
||||||
from modulegraphs import ModuleGraph, PPassContext
|
|
||||||
import dynlib
|
import dynlib
|
||||||
|
|
||||||
when not declared(dynlib.libCandidates):
|
when not declared(dynlib.libCandidates):
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,6 @@ from std/hashes import hash
|
||||||
from std/osproc import nil
|
from std/osproc import nil
|
||||||
from system/formatfloat import addFloatRoundtrip, addFloatSprintf
|
from system/formatfloat import addFloatRoundtrip, addFloatSprintf
|
||||||
|
|
||||||
from sighashes import symBodyDigest
|
|
||||||
|
|
||||||
# There are some useful procs in vmconv.
|
# There are some useful procs in vmconv.
|
||||||
import vmconv
|
import vmconv
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue