diff options
author | Mathias Magnusson <mathias@magnusson.space> | 2025-06-02 21:55:11 +0200 |
---|---|---|
committer | Mathias Magnusson <mathias@magnusson.space> | 2025-06-02 22:01:00 +0200 |
commit | e2e77b4b06e51c7f7d3ea187defaf1ad08e513c1 (patch) | |
tree | 71879baf4d1a8db3163e599bc3b628c01b6ba942 /src/Lexer.zig | |
parent | e18b172d3e4e31b4d50ca978a66187730f744a31 (diff) | |
download | huginn-e2e77b4b06e51c7f7d3ea187defaf1ad08e513c1.tar.gz |
remove the need for explicit discard instructions
by also considering an instruction's destination register(s) to be uses
and when cleaning up registers, also cleaning up those from previous
instructions (specifically this is the output of the last instruction if
it is not used anywhere)
Diffstat (limited to 'src/Lexer.zig')
0 files changed, 0 insertions, 0 deletions