* x86: Fixed minor logic bug in aoc_ForceNewIteration check where UpdateUsedRegs was called at the wrong time.

This commit is contained in:
J. Gareth "Curious Kit" Moreton 2022-07-27 16:26:07 +01:00
parent 5bfbc145c6
commit de650dea55
2 changed files with 2 additions and 2 deletions
compiler

View File

@ -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);

View File

@ -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);