IC: next steps (#16729)
* IC: dead code elimination pass * preparations for a different codegen strategy * added documentation to the newly written code * IC: backend code * IC: backend adjustments * optimized the compiler a bit * IC: yet another massive refactoring * fixes regressions * cleanups
This commit is contained in:
parent
eae3bdf8fe
commit
8241e55023
32 changed files with 729 additions and 323 deletions
|
|
@ -460,7 +460,7 @@ proc numLines*(conf: ConfigRef, fileIdx: FileIndex): int =
|
|||
if result == 0:
|
||||
try:
|
||||
for line in lines(toFullPathConsiderDirty(conf, fileIdx).string):
|
||||
addSourceLine conf, fileIdx, line.string
|
||||
addSourceLine conf, fileIdx, line
|
||||
except IOError:
|
||||
discard
|
||||
result = conf.m.fileInfos[fileIdx.int32].lines.len
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue