saves one unnecessary compare which is also a small regression (#21413)
saves one unnecessary compare which is also a sall regression
follow up d30c6419a0
This commit is contained in:
parent
0a45543cc1
commit
a3603c8a6e
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ proc processModule*(graph: ModuleGraph; module: PSym; idgen: IdGenerator;
|
||||||
while true:
|
while true:
|
||||||
openParser(p, fileIdx, s, graph.cache, graph.config)
|
openParser(p, fileIdx, s, graph.cache, graph.config)
|
||||||
|
|
||||||
if not belongsToStdlib(graph, module) or (belongsToStdlib(graph, module) and module.name.s == "distros"):
|
if (not belongsToStdlib(graph, module)) or module.name.s == "distros":
|
||||||
# XXX what about caching? no processing then? what if I change the
|
# XXX what about caching? no processing then? what if I change the
|
||||||
# modules to include between compilation runs? we'd need to track that
|
# modules to include between compilation runs? we'd need to track that
|
||||||
# in ROD files. I think we should enable this feature only
|
# in ROD files. I think we should enable this feature only
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue