* fixed bug #881: for the include/exclude instruction sometimes wrong

code was generated
This commit is contained in:
florian 2000-03-21 16:24:43 +00:00
parent 2dbe07f533
commit 5925e8fb20

View File

@ -1371,7 +1371,11 @@ implementation
if psetdef(p^.left^.resulttype)^.settype=smallset then
begin
if p^.left^.right^.left^.location.loc in [LOC_CREGISTER,LOC_REGISTER] then
hregister:=p^.left^.right^.left^.location.register
{ we don't need a mod 32 because this is done automatically }
{ by the bts instruction. For proper checking we would }
{ need a cmp and jmp, but this should be done by the }
{ type cast code which does range checking if necessary (FK) }
hregister:=makereg32(p^.left^.right^.left^.location.register)
else
begin
{$ifndef noAllocEdi}
@ -1507,7 +1511,11 @@ implementation
end.
{
$Log$
Revision 1.94 2000-02-13 22:46:27 florian
Revision 1.95 2000-03-21 16:24:43 florian
* fixed bug 881: for the include/exclude instruction sometimes wrong
code was generated
Revision 1.94 2000/02/13 22:46:27 florian
* fixed an internalerror with writeln
* fixed arrayconstructor_to_set to force the generation of better code
and added a more strict type checking