소스 검색

* patch based on a proposal by J. Gareth Moreton to reduce register usage

git-svn-id: trunk@37941 -
florian 7 년 전
부모
커밋
724b822b54
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      compiler/x86/nx86mat.pas

+ 1 - 3
compiler/x86/nx86mat.pas

@@ -611,10 +611,8 @@ interface
 
                     emit_reg_reg(A_SUB,opsize,regd,hreg2);
                     cg.ungetcpuregister(current_asmdata.CurrAsmList,regd);
-                    location.register:=cg.getintregister(current_asmdata.CurrAsmList,cgsize);
-                    cg.a_load_reg_reg(current_asmdata.CurrAsmList,cgsize,cgsize,hreg2,location.register)
+                    location.register:=hreg2;
                   end;
-
               end;
           end
         else