mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 01:09:31 +02:00
* check also register type in FindRegalloc
git-svn-id: trunk@22195 -
This commit is contained in:
parent
a92ca7c456
commit
3e9baa3f47
@ -1021,7 +1021,9 @@ Unit AoptObj;
|
||||
If Assigned(StartPai) And
|
||||
(StartPai.typ = ait_regAlloc) Then
|
||||
Begin
|
||||
if (tai_regalloc(StartPai).ratype=ra_alloc) and (getsupreg(tai_regalloc(StartPai).Reg) = getsupreg(Reg)) then
|
||||
if (tai_regalloc(StartPai).ratype=ra_alloc) and
|
||||
(getregtype(tai_regalloc(StartPai).Reg) = getregtype(Reg)) and
|
||||
(getsupreg(tai_regalloc(StartPai).Reg) = getsupreg(Reg)) then
|
||||
begin
|
||||
Result:=tai_regalloc(StartPai);
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user