mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-28 17:39:26 +02:00
* invalidate regs that depend on a modified register
This commit is contained in:
parent
13488eb705
commit
06af76dd6c
@ -1837,6 +1837,7 @@ Begin
|
|||||||
Inc(NrOfMods, NrOfInstrSinceLastMod[Reg]);
|
Inc(NrOfMods, NrOfInstrSinceLastMod[Reg]);
|
||||||
PPaiProp(Pai(StartMod)^.OptInfo)^.Regs[Reg].NrOfMods := NrOfMods;
|
PPaiProp(Pai(StartMod)^.OptInfo)^.Regs[Reg].NrOfMods := NrOfMods;
|
||||||
NrOfInstrSinceLastMod[Reg] := 0;
|
NrOfInstrSinceLastMod[Reg] := 0;
|
||||||
|
invalidateDependingRegs(p^.optinfo,reg);
|
||||||
{$ifdef StateDebug}
|
{$ifdef StateDebug}
|
||||||
hp := new(pai_asm_comment,init(strpnew(att_reg2str[reg]+': '+tostr(PPaiProp(p^.optinfo)^.Regs[reg].WState)
|
hp := new(pai_asm_comment,init(strpnew(att_reg2str[reg]+': '+tostr(PPaiProp(p^.optinfo)^.Regs[reg].WState)
|
||||||
+ ' -- ' + tostr(PPaiProp(p^.optinfo)^.Regs[reg].nrofmods))));
|
+ ' -- ' + tostr(PPaiProp(p^.optinfo)^.Regs[reg].nrofmods))));
|
||||||
@ -2447,7 +2448,10 @@ End.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.11 2000-11-29 00:30:44 florian
|
Revision 1.12 2000-12-04 17:00:09 jonas
|
||||||
|
* invalidate regs that depend on a modified register
|
||||||
|
|
||||||
|
Revision 1.11 2000/11/29 00:30:44 florian
|
||||||
* unused units removed from uses clause
|
* unused units removed from uses clause
|
||||||
* some changes for widestrings
|
* some changes for widestrings
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user