Browse Source

Use A_LD_R alias in do_spill_replace function

git-svn-id: trunk@36794 -
pierre 8 years ago
parent
commit
ef3b006eb2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/sparcgen/rgcpu.pas

+ 1 - 1
compiler/sparcgen/rgcpu.pas

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