compiler: remove unnecessary FileIndex type conversions

This commit is contained in:
Andreas Rumpf 2018-04-23 10:54:26 +02:00
commit 3e5192b5da
3 changed files with 3 additions and 3 deletions

View file

@ -166,7 +166,7 @@ proc processModule*(graph: ModuleGraph; module: PSym, stream: PLLStream,
p: TParsers
a: TPassContextArray
s: PLLStream
fileIdx = FileIndex module.fileIdx
fileIdx = module.fileIdx
if module.id < 0:
# new module caching mechanism:
for i in 0..<gPassesLen: