mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-04-09 16:40:38 +00:00
Remove invalid optimization
This commit is contained in:
parent
c67afa6d24
commit
7a42a8e0a0
BIN
PLASMA-BLD1.PO
BIN
PLASMA-BLD1.PO
Binary file not shown.
@ -273,12 +273,8 @@ def emit_pending_seq#0
|
||||
else // Constant WORD
|
||||
codeptr->0 = $2C
|
||||
codeptr=>1 = op=>opval
|
||||
codeptr = codeptr + 3
|
||||
codeptr = codeptr + 3
|
||||
fin
|
||||
else // Constant LOAD/STORE/CALL
|
||||
codeptr->0 = op->opcode
|
||||
codeptr=>1 = op=>opval
|
||||
codeptr = codeptr + 3
|
||||
fin
|
||||
break
|
||||
//
|
||||
|
@ -74,9 +74,9 @@ def crunch_seq(seq, pass)
|
||||
break
|
||||
fin
|
||||
if nextop->opcode == SUB_CODE
|
||||
op->opcode = DEC_CODE
|
||||
op->opcode = DEC_CODE
|
||||
op->opgroup = STACK_GROUP
|
||||
freeops = 1
|
||||
freeops = 1
|
||||
break
|
||||
fin
|
||||
if nextop->opcode == SHL_CODE
|
||||
@ -232,29 +232,6 @@ def crunch_seq(seq, pass)
|
||||
fin
|
||||
next
|
||||
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
|
||||
break // CONST_CODE
|
||||
is LADDR_CODE
|
||||
|
Loading…
x
Reference in New Issue
Block a user