mirror of
https://github.com/irmen/prog8.git
synced 2024-11-27 03:50:27 +00:00
comment
This commit is contained in:
parent
5497de4234
commit
730e08698d
@ -69,7 +69,7 @@ class IntermediateProgram(val name: String, var loadAddress: Int, val heap: Heap
|
|||||||
optimizeMultipleSequentialLineInstrs()
|
optimizeMultipleSequentialLineInstrs()
|
||||||
optimizeCallReturnIntoJump()
|
optimizeCallReturnIntoJump()
|
||||||
optimizeConditionalBranches()
|
optimizeConditionalBranches()
|
||||||
// todo: add more optimizations to intermediate code! such as: pop X + push X -> peek X (might require new opcodes)
|
// todo: add more optimizations to intermediate code!
|
||||||
|
|
||||||
optimizeRemoveNops() // must be done as the last step
|
optimizeRemoveNops() // must be done as the last step
|
||||||
optimizeMultipleSequentialLineInstrs() // once more
|
optimizeMultipleSequentialLineInstrs() // once more
|
||||||
|
Loading…
Reference in New Issue
Block a user