C codegen: first version of signature hashing for better incremental builds

This commit is contained in:
Araq 2016-11-03 12:02:09 +01:00
commit 3b43cff0f8
9 changed files with 226 additions and 56 deletions

View file

@ -1953,7 +1953,7 @@ proc expr(p: BProc, n: PNode, d: var TLoc) =
of skMethod:
if {sfDispatcher, sfForward} * sym.flags != {}:
# we cannot produce code for the dispatcher yet:
fillProcLoc(sym)
fillProcLoc(p.module, sym)
genProcPrototype(p.module, sym)
else:
genProc(p.module, sym)