* swapped decrefs and StripLabelFast as proposed by Gareth on the mailing list

git-svn-id: trunk@43445 -
This commit is contained in:
florian 2019-11-10 18:23:50 +00:00
parent 7747c5fc27
commit 4b455600b8

View File

@ -3537,12 +3537,12 @@ unit aoptx86;
asml.remove(hp1);
hp1.free;
{ Remove label xxx (it will have a ref of zero due to the initial check }
StripLabelFast(hp4);
{ Now we can safely decrement it }
tasmlabel(symbol).decrefs;
{ Remove label xxx (it will have a ref of zero due to the initial check }
StripLabelFast(hp4);
{ remove jmp }
symbol := taicpu(hp2).oper[0]^.ref^.symbol;