-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change how templates are monomorphized
Use an AstFolder pass to turn each InstanceDecl into a FuncDecl (the 'stenciler'). Uses the base template, which is fully type checked, along with the concrete types that the instance was instantiated with. Structures are not monomorphied right now. We have a uniform value representation, so it isn't strictly necessary.
- Loading branch information
1 parent
417d8b5
commit 5d062c4
Showing
29 changed files
with
2,363 additions
and
3,619 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.