mirror of
https://github.com/janet-lang/janet
synced 2024-12-25 07:50:27 +00:00
4782a76bca
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. |
||
---|---|---|
.. | ||
amalg | ||
fuzzers | ||
helper.janet | ||
suite0000.janet | ||
suite0001.janet | ||
suite0002.janet | ||
suite0003.janet | ||
suite0004.janet | ||
suite0005.janet | ||
suite0006.janet | ||
suite0007.janet | ||
suite0008.janet | ||
suite0009.janet | ||
suite0010.janet | ||
suite0011.janet | ||
suite0012.janet | ||
suite0013.janet | ||
suite0014.janet | ||
suite0015.janet |