Skip to content

Commit

Permalink
[compiler] Refactor Program to use queue of functions to compile
Browse files Browse the repository at this point in the history
Refactors Program.ts to first traverse the `Program` node and build up a queue of functions to visit, then iterate that queue and compile the functions. This doesn't change behavior, but allows the next diff to add additional items to the queue during compilation (for function outlining).

ghstack-source-id: 858527c30ccc26b3aa6fe75a4746fce0820b316f
Pull Request resolved: facebook#30330
  • Loading branch information
felixshiftellecon committed Jul 24, 2024
1 parent a8c5e23 commit f15b675
Show file tree
Hide file tree
Showing 2 changed files with 366 additions and 332 deletions.
Loading

0 comments on commit f15b675

Please sign in to comment.