mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 01:59:18 +02:00
* fixed range error
This commit is contained in:
parent
d66a6af71f
commit
a4dcdea87d
@ -1922,7 +1922,13 @@ Begin
|
|||||||
CurProp^.CanBeRemoved := False;
|
CurProp^.CanBeRemoved := False;
|
||||||
UpdateUsedRegs(UsedRegs, Pai(p^.Next));
|
UpdateUsedRegs(UsedRegs, Pai(p^.Next));
|
||||||
For TmpReg := R_EAX To R_EDI Do
|
For TmpReg := R_EAX To R_EDI Do
|
||||||
Inc(NrOfInstrSinceLastMod[TmpReg]);
|
if NrOfInstrSinceLastMod[TmpReg] < 255 then
|
||||||
|
Inc(NrOfInstrSinceLastMod[TmpReg])
|
||||||
|
else
|
||||||
|
begin
|
||||||
|
NrOfInstrSinceLastMod[TmpReg] := 0;
|
||||||
|
curprop^.regs[TmpReg].typ := con_unknown;
|
||||||
|
end;
|
||||||
Case p^.typ Of
|
Case p^.typ Of
|
||||||
ait_marker:;
|
ait_marker:;
|
||||||
ait_label:
|
ait_label:
|
||||||
@ -2448,7 +2454,10 @@ End.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.12 2000-12-04 17:00:09 jonas
|
Revision 1.13 2000-12-21 12:22:53 jonas
|
||||||
|
* fixed range error
|
||||||
|
|
||||||
|
Revision 1.12 2000/12/04 17:00:09 jonas
|
||||||
* invalidate regs that depend on a modified register
|
* invalidate regs that depend on a modified register
|
||||||
|
|
||||||
Revision 1.11 2000/11/29 00:30:44 florian
|
Revision 1.11 2000/11/29 00:30:44 florian
|
||||||
|
Loading…
Reference in New Issue
Block a user