Use A_LD_R alias in do_spill_replace function

git-svn-id: trunk@36794 -
This commit is contained in:
pierre 2017-07-26 14:57:21 +00:00
parent 6e18d537fc
commit ef3b006eb2

View File

@ -186,7 +186,7 @@ implementation
if get_alias(getsupreg(instr.oper[0]^.reg))=orgreg then if get_alias(getsupreg(instr.oper[0]^.reg))=orgreg then
begin begin
if (regtype=R_INTREGISTER) then if (regtype=R_INTREGISTER) then
instr.opcode:=A_LD instr.opcode:=A_LD_R
else if (getsubreg(instr.oper[0]^.reg)=R_SUBFS) then else if (getsubreg(instr.oper[0]^.reg)=R_SUBFS) then
instr.opcode:=A_LDF instr.opcode:=A_LDF
else else