refactoring complete: explicit ident cache
This commit is contained in:
parent
773d17cd14
commit
29db0d8585
16 changed files with 94 additions and 93 deletions
|
|
@ -2276,7 +2276,7 @@ proc myOpenCached(s: PSym, rd: PRodReader): PPassContext =
|
|||
internalError("symbol files are not possible with the JS code generator")
|
||||
result = nil
|
||||
|
||||
proc myOpen(s: PSym): PPassContext =
|
||||
proc myOpen(s: PSym; cache: IdentCache): PPassContext =
|
||||
var r = newModule(s)
|
||||
r.target = if gCmd == cmdCompileToPHP: targetPHP else: targetJS
|
||||
result = r
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue