* Fix register allocation bug that happens when a coalesced

move is spilled in its entirely.

git-svn-id: trunk@6408 -
This commit is contained in:
daniel 2007-02-10 22:47:13 +00:00
parent 3201f984fe
commit 9256c180de

View File

@ -135,7 +135,7 @@ implementation
that doesn't need spilling }
if (oper[0]^.typ=top_reg) and
(oper[1]^.typ=top_reg) and
(getsupreg(oper[0]^.reg)<>getsupreg(oper[1]^.reg)) then
(get_alias(getsupreg(oper[0]^.reg))<>get_alias(getsupreg(oper[1]^.reg))) then
begin
{ One of the arguments shall be able to be replaced }
if (getregtype(oper[0]^.reg)=regtype) and