mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 20:09:23 +02:00
* also support LOC_CREGISTER and LOC_CREFERENCE in in_not_assign_x and in_neg_assign_x
git-svn-id: trunk@35751 -
This commit is contained in:
parent
6b43705437
commit
c6680a32d7
@ -513,7 +513,7 @@ implementation
|
|||||||
|
|
||||||
location_reset(location,LOC_VOID,OS_NO);
|
location_reset(location,LOC_VOID,OS_NO);
|
||||||
|
|
||||||
if left.location.loc=LOC_REGISTER then
|
if left.location.loc in [LOC_REGISTER,LOC_CREGISTER] then
|
||||||
begin
|
begin
|
||||||
{$ifndef cpu64bitalu}
|
{$ifndef cpu64bitalu}
|
||||||
if def_cgsize(left.resultdef) in [OS_64,OS_S64] then
|
if def_cgsize(left.resultdef) in [OS_64,OS_S64] then
|
||||||
@ -522,7 +522,7 @@ implementation
|
|||||||
{$endif not cpu64bitalu}
|
{$endif not cpu64bitalu}
|
||||||
hlcg.a_op_reg_loc(current_asmdata.CurrAsmList,negnotop[inlinenumber],left.resultdef,left.location.register,left.location);
|
hlcg.a_op_reg_loc(current_asmdata.CurrAsmList,negnotop[inlinenumber],left.resultdef,left.location.register,left.location);
|
||||||
end
|
end
|
||||||
else if left.location.loc=LOC_REFERENCE then
|
else if left.location.loc in [LOC_REFERENCE,LOC_CREFERENCE] then
|
||||||
begin
|
begin
|
||||||
{$ifndef cpu64bitalu}
|
{$ifndef cpu64bitalu}
|
||||||
if def_cgsize(left.resultdef) in [OS_64,OS_S64] then
|
if def_cgsize(left.resultdef) in [OS_64,OS_S64] then
|
||||||
|
Loading…
Reference in New Issue
Block a user