Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code generation happens in three full passes over the assembly stream. The first pass collects label addresses. The second pass generates code. The final pass generates data. This is unnecessary; the first pass can be eliminated via a lazy back-patch list. The last two passes can be combined into one.
- Loading branch information
Showing
1 changed file
with
62 additions
and
73 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