incremental compilation: bugfixes
This commit is contained in:
parent
6acffcd28f
commit
e8bec61413
2 changed files with 4 additions and 2 deletions
|
|
@ -402,7 +402,8 @@ proc importantComments*(conf: ConfigRef): bool {.inline.} = conf.cmd in {cmdDoc,
|
||||||
proc usesWriteBarrier*(conf: ConfigRef): bool {.inline.} = conf.selectedGC >= gcRefc
|
proc usesWriteBarrier*(conf: ConfigRef): bool {.inline.} = conf.selectedGC >= gcRefc
|
||||||
|
|
||||||
template compilationCachePresent*(conf: ConfigRef): untyped =
|
template compilationCachePresent*(conf: ConfigRef): untyped =
|
||||||
conf.symbolFiles in {v2Sf, writeOnlySf}
|
false
|
||||||
|
# conf.symbolFiles in {v2Sf, writeOnlySf}
|
||||||
|
|
||||||
template optPreserveOrigSource*(conf: ConfigRef): untyped =
|
template optPreserveOrigSource*(conf: ConfigRef): untyped =
|
||||||
optEmbedOrigSrc in conf.globalOptions
|
optEmbedOrigSrc in conf.globalOptions
|
||||||
|
|
|
||||||
|
|
@ -768,7 +768,8 @@ proc loadModuleSymTab(g; module: PSym) =
|
||||||
b.s.add '\0'
|
b.s.add '\0'
|
||||||
s = loadSymFromBlob(g, b, module.info)
|
s = loadSymFromBlob(g, b, module.info)
|
||||||
assert s != nil
|
assert s != nil
|
||||||
strTableAdd(module.tab, s)
|
if s.kind != skField:
|
||||||
|
strTableAdd(module.tab, s)
|
||||||
if sfSystemModule in module.flags:
|
if sfSystemModule in module.flags:
|
||||||
g.systemModule = module
|
g.systemModule = module
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue