1
0
mirror of https://github.com/janet-lang/janet synced 2025-02-20 10:30:02 +00:00
Calvin Rose 4782a76bca Add inital bytecode optimizations for #1163
This removes unnecessary movn, movf, lds, and a few other instructions.
Any instructions that has not side effects and writes to a slot that
isn't used can be removed. A number of other optimizations can follow
from this:

- Implement the def-aliasing-var optimization better
- This function can be iterated as a fix point until no more
  instructions are removed.
- If we implement slot renaming, then we no longer need to free slots
  and can simplify the initial code generation a lot.
2023-05-29 16:10:48 -05:00
..
2023-01-07 15:04:56 -06:00
2023-01-07 15:04:56 -06:00
2023-01-07 15:04:56 -06:00
2023-05-20 17:35:25 +02:00
2023-01-07 15:03:35 -06:00