From 5cfdd8fbf507c96e32f4584b776472d3424e4a3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1roly=20Balogh?= Date: Sun, 13 Dec 2015 02:08:24 +0000 Subject: [PATCH] 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 - --- compiler/hlcg2ll.pas | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/hlcg2ll.pas b/compiler/hlcg2ll.pas index f7eb494f68..581f406137 100644 --- a/compiler/hlcg2ll.pas +++ b/compiler/hlcg2ll.pas @@ -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);