arm: an attempt to improve the a_op_const_ref patch in r27881

git-svn-id: trunk@27882 -
This commit is contained in:
Károly Balogh 2014-06-06 20:48:31 +00:00
parent 5b262df7d0
commit af95876eba

View File

@ -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;