mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 00:59:30 +02:00
* check registers of ait_regalloc for a valid color when translating and compiling with -dextdebug
git-svn-id: trunk@30438 -
This commit is contained in:
parent
5e99f7f9c1
commit
31709b1b43
@ -1800,7 +1800,12 @@ unit rgobj;
|
||||
end
|
||||
else
|
||||
begin
|
||||
setsupreg(reg,reginfo[getsupreg(reg)].colour);
|
||||
u:=reginfo[getsupreg(reg)].colour;
|
||||
{$ifdef EXTDEBUG}
|
||||
if u>=maxreginfo then
|
||||
internalerror(2015040501);
|
||||
{$endif}
|
||||
setsupreg(reg,u);
|
||||
{
|
||||
Remove sequences of release and
|
||||
allocation of the same register like. Other combinations
|
||||
@ -2411,3 +2416,4 @@ unit rgobj;
|
||||
end;
|
||||
|
||||
end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user