mirror of
https://github.com/irmen/prog8.git
synced 2026-04-19 20:16:51 +00:00
todos
This commit is contained in:
@@ -491,7 +491,7 @@ class CodeGen(internal val program: PtProgram,
|
||||
}
|
||||
|
||||
private fun translate(assignment: PtAssignment): VmCodeChunk {
|
||||
// TODO can in-place assignments (assignment.augmentable = true) be optimized more?
|
||||
// TODO can in-place assignments be optimized more?
|
||||
|
||||
val code = VmCodeChunk()
|
||||
val resultRegister = vmRegisters.nextFree()
|
||||
@@ -545,7 +545,7 @@ class CodeGen(internal val program: PtProgram,
|
||||
}
|
||||
|
||||
private fun translate(sub: PtSub): VmCodeChunk {
|
||||
// TODO actually inline subroutines marked as inline
|
||||
// TODO actually inline subroutines marked as inline (but at this time only asmsub can be inline)
|
||||
val code = VmCodeChunk()
|
||||
code += VmCodeComment("SUB: ${sub.scopedName} -> ${sub.returntype}")
|
||||
code += VmCodeLabel(sub.scopedName)
|
||||
|
||||
Reference in New Issue
Block a user