mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 04:59:26 +02:00
* remove invalid aword typecast
git-svn-id: trunk@6131 -
This commit is contained in:
parent
3eb4823209
commit
5a68a743fc
@ -500,7 +500,7 @@ interface
|
||||
|
||||
checkoverflow:=
|
||||
checkoverflow and
|
||||
(left.resultdef.typ<>pointerdef) and
|
||||
(left.resultdef.typ<>pointerdef) and
|
||||
(right.resultdef.typ<>pointerdef);
|
||||
|
||||
{$ifdef cpu64bit}
|
||||
@ -691,7 +691,7 @@ interface
|
||||
|
||||
checkoverflow:=
|
||||
checkoverflow and
|
||||
(left.resultdef.typ<>pointerdef) and
|
||||
(left.resultdef.typ<>pointerdef) and
|
||||
(right.resultdef.typ<>pointerdef);
|
||||
|
||||
if nodetype<>subn then
|
||||
@ -717,7 +717,7 @@ interface
|
||||
location.register,checkoverflow and (cs_check_overflow in current_settings.localswitches),ovloc)
|
||||
else
|
||||
cg.a_op_const_reg_reg_checkoverflow(current_asmdata.CurrAsmList,OP_SUB,location.size,
|
||||
aword(right.location.value),left.location.register,
|
||||
right.location.value,left.location.register,
|
||||
location.register,checkoverflow and (cs_check_overflow in current_settings.localswitches),ovloc);
|
||||
end
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user