mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 16:06:09 +02:00
* fixed refs book keeping
git-svn-id: trunk@2211 -
This commit is contained in:
parent
27c92161d6
commit
e43a1223ff
@ -629,7 +629,11 @@ begin
|
|||||||
taicpu(p).condition:=inverse_cond(taicpu(p).condition);
|
taicpu(p).condition:=inverse_cond(taicpu(p).condition);
|
||||||
tai_label(hp2).l.decrefs;
|
tai_label(hp2).l.decrefs;
|
||||||
taicpu(p).oper[0]^.ref^.symbol:=taicpu(hp1).oper[0]^.ref^.symbol;
|
taicpu(p).oper[0]^.ref^.symbol:=taicpu(hp1).oper[0]^.ref^.symbol;
|
||||||
taicpu(p).oper[0]^.ref^.symbol.increfs;
|
{ when free'ing hp1, the ref. isn't decresed, so we don't
|
||||||
|
increase it (FK)
|
||||||
|
|
||||||
|
taicpu(p).oper[0]^.ref^.symbol.increfs;
|
||||||
|
}
|
||||||
asml.remove(hp1);
|
asml.remove(hp1);
|
||||||
hp1.free;
|
hp1.free;
|
||||||
GetFinalDestination(asml, taicpu(p),0);
|
GetFinalDestination(asml, taicpu(p),0);
|
||||||
|
Loading…
Reference in New Issue
Block a user