mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:29:27 +02:00
* don't set high register of 64 bit result for comparisons in case
one of the operands is a constant (missing begin/end after "if") git-svn-id: trunk@2733 -
This commit is contained in:
parent
b0a394edfc
commit
8f6b52d482
@ -127,9 +127,11 @@ interface
|
||||
begin
|
||||
location_force_reg(exprasmlist,n.location,def_cgsize(n.resulttype.def),false);
|
||||
if not cmpop then
|
||||
location.register := n.location.register;
|
||||
if is_64bit(n.resulttype.def) then
|
||||
location.register64.reghi := n.location.register64.reghi;
|
||||
begin
|
||||
location.register := n.location.register;
|
||||
if is_64bit(n.resulttype.def) then
|
||||
location.register64.reghi := n.location.register64.reghi;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user