mirror of
https://github.com/irmen/prog8.git
synced 2026-10-22 05:02:58 +00:00
code cleanups
This commit is contained in:
1 parent
cf7afaf77a
commit
ce2b298d6f
43 files changed
+218
-267
No files matched your search
@@ -697,7 +697,6 @@ internal class AssignmentGen(private val codeGen: IRCodeGen, private val exprGen
|
||||
val constAddress = memory!!.address as? PtNumber
|
||||
if(constAddress!=null) {
|
||||
val storeIns = when {
|
||||
false -> IRInstruction(Opcode.STOREZM, targetDt, address=constAddress.number.toUInt().toAddress())
|
||||
constInt != null -> {
|
||||
val v = when(targetDt) {
|
||||
IRDataType.BYTE -> constInt and 0xff
|
||||
|
||||
Reference in new issue
Block a user