瀏覽代碼

* fix trgcpu.do_spill_replace for sparc64

git-svn-id: trunk@36998 -
florian 8 年之前
父節點
當前提交
b8354b9b60
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/sparcgen/rgcpu.pas

+ 1 - 1
compiler/sparcgen/rgcpu.pas

@@ -196,7 +196,7 @@ implementation
         else if get_alias(getsupreg(instr.oper[1]^.reg))=orgreg then
           begin
             if (regtype=R_INTREGISTER) then
-              instr.opcode:=A_ST
+              instr.opcode:=A_ST_R
             else if (getsubreg(instr.oper[1]^.reg)=R_SUBFS) then
               instr.opcode:=A_STF
             else