-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass
TraceIterator
to JIT compilers rather than Vec<TracedAOTBlock>
.
This allows the JIT compilers, if they so choose, to iterate over the blocks. If a tracer chooses to process (e.g. decode) its trace in a thread, this means that (some of) compilation and trace processing can occur in parallel. At the moment, this commit doesn't change anything meaningful inside jitc_ykllvm or jitc_yk: both immediately `collect` the iterator into a `Vec`. But the API is now flexible enough to allow something better in the future.
- Loading branch information
Showing
4 changed files
with
9 additions
and
8 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
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