removed a redundant zero extension from location_force_reg, which occured if the source location was a smaller than 32bit subreg, and the destination was 64bit. hregister is always overwritten in the codepath below anyway.

git-svn-id: trunk@32648 -
This commit is contained in:
Károly Balogh 2015-12-13 02:08:24 +00:00
parent bd20c5a66b
commit 5cfdd8fbf5

View File

@ -1026,7 +1026,6 @@ implementation
{$else}
hregister:=cg.makeregsize(list,l.register64.reglo,OS_32);
{$endif}
cg.a_load_reg_reg(list,l.size,OS_32,l.register64.reglo,hregister);
end
else
hregister:=cg.getintregister(list,OS_32);