1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-10-18 22:24:28 +00:00

Remove invalid optimization

This commit is contained in:
Dave Schmenk 2018-01-15 22:33:00 -08:00
parent c67afa6d24
commit 7a42a8e0a0
3 changed files with 3 additions and 30 deletions

Binary file not shown.

View File

@ -275,10 +275,6 @@ def emit_pending_seq#0
codeptr=>1 = op=>opval codeptr=>1 = op=>opval
codeptr = codeptr + 3 codeptr = codeptr + 3
fin fin
else // Constant LOAD/STORE/CALL
codeptr->0 = op->opcode
codeptr=>1 = op=>opval
codeptr = codeptr + 3
fin fin
break break
// //

View File

@ -232,29 +232,6 @@ def crunch_seq(seq, pass)
fin fin
next next
break break
//
// Constant addresses
//
is LB_CODE
op->opcode = LAB_CODE
freeops = 1
break
is LW_CODE
op->opcode = LAW_CODE
freeops = 1
break
is SB_CODE
op->opcode = SAB_CODE
freeops = 1
break
is SW_CODE
op->opcode = SAW_CODE
freeops = 1
break
is ICAL_CODE
op->opcode = CALL_CODE
freeops = 1
break
wend wend
break // CONST_CODE break // CONST_CODE
is LADDR_CODE is LADDR_CODE