symbol files: do not regenerate method dispatchers for now
This commit is contained in:
parent
464d037c17
commit
3ae434a086
1 changed files with 4 additions and 0 deletions
|
|
@ -1443,6 +1443,10 @@ proc myClose(graph: ModuleGraph; b: PPassContext, n: PNode): PNode =
|
||||||
result = n
|
result = n
|
||||||
if b == nil or passes.skipCodegen(n): return
|
if b == nil or passes.skipCodegen(n): return
|
||||||
var m = BModule(b)
|
var m = BModule(b)
|
||||||
|
# if the module is cached, we don't regenerate the main proc
|
||||||
|
# nor the dispatchers? But if the dispatchers changed?
|
||||||
|
# XXX emit the dispatchers into its own .c file?
|
||||||
|
if b.rd != nil: return
|
||||||
if n != nil:
|
if n != nil:
|
||||||
m.initProc.options = initProcOptions(m)
|
m.initProc.options = initProcOptions(m)
|
||||||
genStmts(m.initProc, n)
|
genStmts(m.initProc, n)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue