[caas] first version that actually works (still has a lot of logical memory leaks on recompilation)
This commit is contained in:
parent
36e25a6849
commit
f9bd8cc985
9 changed files with 259 additions and 62 deletions
|
|
@ -795,7 +795,7 @@ proc GetCRC*(fileIdx: int32): TCrc32 =
|
|||
gMods[fileIdx].crc = result
|
||||
|
||||
template growCache*(cache, pos) =
|
||||
if cache.len <= fileIdx: cache.setLen(pos+1)
|
||||
if cache.len <= pos: cache.setLen(pos+1)
|
||||
|
||||
proc checkDep(fileIdx: int32): TReasonForRecompile =
|
||||
assert fileIdx != InvalidFileIDX
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue