* remove invalid aword typecast

git-svn-id: trunk@6131 -
This commit is contained in:
peter 2007-01-22 19:40:31 +00:00
parent 3eb4823209
commit 5a68a743fc

View File

@ -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