Summary of Progress (September 22 - September 29)
This week, I further eliminated some of the semantic function calls inside AST node files.
What I Worked On
-
Moved
TemplateInstanceBox
todmd/templatesem.d
to eliminate the calls ofdmd.templatesem.equalsx
(See Merged PR). -
Moved
arrayObjectHash
todmd/templatesem.d
to eliminate the calls ofdmd.templatesem.getExpression
(See Merged PR). -
(WIP) Broke semantic dependency of
dmd/dtemplate.d
ondmd/dsymbolsem.d
by refactoring theTemplateDeclaration
constructor to eliminate the call ofoneMembers
and call it at sites where it is needed (See PR). -
(WIP) Made
TemplateDeclaration.instances
avoid *
and cast it asTemplateInstance[TemplateInstanceBox]
where it is used. This is to eliminate the import ofdmd.templatesem.TemplateInstanceBox
fromdmd/dtemplate.d
resulting from the first PR.