mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 18:29:13 +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
@ -252,7 +252,7 @@ unit aoptcpu;
|
|||||||
|
|
||||||
if not Result then
|
if not Result then
|
||||||
begin
|
begin
|
||||||
if not (p.typ in SkipInstr) then
|
if (p.typ in SkipInstr) then
|
||||||
UpdateUsedRegs(p);
|
UpdateUsedRegs(p);
|
||||||
|
|
||||||
p := tai(p.Next);
|
p := tai(p.Next);
|
||||||
|
@ -174,7 +174,7 @@ uses
|
|||||||
|
|
||||||
if not Result then
|
if not Result then
|
||||||
begin
|
begin
|
||||||
if not (p.typ in SkipInstr) then
|
if (p.typ in SkipInstr) then
|
||||||
UpdateUsedRegs(p);
|
UpdateUsedRegs(p);
|
||||||
|
|
||||||
p := tai(p.Next);
|
p := tai(p.Next);
|
||||||
|
Loading…
Reference in New Issue
Block a user