Browse Source

arm: an attempt to improve the a_op_const_ref patch in r27881

git-svn-id: trunk@27882 -
Károly Balogh 11 years ago
parent
commit
af95876eba
1 changed files with 1 additions and 3 deletions
  1. 1 3
      compiler/arm/cgcpu.pas

+ 1 - 3
compiler/arm/cgcpu.pas

@@ -693,9 +693,7 @@ unit cgcpu;
        begin
          tmpreg:=getintregister(list,size);
          tmpresreg:=getintregister(list,size);
-         tmpref:=ref;
-         fixref(list,tmpref);
-         a_load_ref_reg(list,size,size,tmpref,tmpreg);
+         tmpref:=a_internal_load_ref_reg(list,size,size,ref,tmpreg);
          a_op_const_reg_reg(list,op,size,a,tmpreg,tmpresreg);
          a_load_reg_ref(list,size,size,tmpresreg,tmpref);
        end;