|
@@ -2047,29 +2047,6 @@ unit rgobj;
|
|
|
internalerror(2015040501);
|
|
|
{$endif}
|
|
|
setsupreg(reg,u);
|
|
|
- {
|
|
|
- Remove sequences of release and
|
|
|
- allocation of the same register like. Other combinations
|
|
|
- of release/allocate need to stay in the list.
|
|
|
-
|
|
|
- # Register X released
|
|
|
- # Register X allocated
|
|
|
- }
|
|
|
- if assigned(previous) and
|
|
|
- (ratype=ra_alloc) and
|
|
|
- (Tai(previous).typ=ait_regalloc) and
|
|
|
- (Tai_regalloc(previous).reg=reg) and
|
|
|
- (Tai_regalloc(previous).ratype=ra_dealloc) then
|
|
|
- begin
|
|
|
- q:=Tai(next);
|
|
|
- hp:=tai(previous);
|
|
|
- list.remove(hp);
|
|
|
- hp.free;
|
|
|
- list.remove(p);
|
|
|
- p.free;
|
|
|
- p:=q;
|
|
|
- continue;
|
|
|
- end;
|
|
|
end;
|
|
|
end;
|
|
|
end;
|