mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 11:30:02 +02:00
* x86: Fixed minor logic bug in aoc_ForceNewIteration check where UpdateUsedRegs was called at the wrong time.
This commit is contained in:
parent
5bfbc145c6
commit
de650dea55
compiler
@ -252,7 +252,7 @@ unit aoptcpu;
|
||||
|
||||
if not Result then
|
||||
begin
|
||||
if not (p.typ in SkipInstr) then
|
||||
if (p.typ in SkipInstr) then
|
||||
UpdateUsedRegs(p);
|
||||
|
||||
p := tai(p.Next);
|
||||
|
@ -174,7 +174,7 @@ uses
|
||||
|
||||
if not Result then
|
||||
begin
|
||||
if not (p.typ in SkipInstr) then
|
||||
if (p.typ in SkipInstr) then
|
||||
UpdateUsedRegs(p);
|
||||
|
||||
p := tai(p.Next);
|
||||
|
Loading…
Reference in New Issue
Block a user