vm: expressiongen: use resultRegister arg instead of allocating new leftResultReg

This commit is contained in:
Irmen de Jong
2022-05-11 15:57:52 +02:00
parent bacba629a5
commit 677613d30a
2 changed files with 36 additions and 52 deletions

View File

@@ -3,7 +3,8 @@ TODO
For next release
^^^^^^^^^^^^^^^^
- vm: expressiongen: use resultRegister arg instead of allocating new leftResultReg
- vm: comparison operator codegen with floating point values are wrong?
- vm: get rid of the 3-register instructions just make them 2 registers? Result register is always same as second?
- vm: use more instructions in codegen: branching
- vm: add more instructions operating directly on memory instead of only registers?
- in-place modifiying functions (rol, ror, ..) don't accept a memory address but require a memory-read expression. that is weird.