-
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.
Merge inmemlink-2, removes use of .dyo files
The compile process (can be) now fully fileless. Typical command line operation reads from .c/.h, but the code is generated (and linked) directly in memory, rather than going through the intermediate step of dyo files being written and re-read. This is slightly simpler in that it avoids the de/serialization code, but the memory management is a bit more complex. A subsequent change will probably need to reintroduce some sort of textual dump to inspect compile/fixups/link for debugging, but it wasn't necessary yet. Additionally, symbols are maintained as regular strings in the fixup array and some hashtables. It would be nice to intern these to speed up and simplify linking.
- Loading branch information
Showing
15 changed files
with
260 additions
and
1,084 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
Oops, something went wrong.