On Mon, 25 Apr 2016, Maciej Izak wrote:

Finally I've decided to use Clone and Copy (as proposed by Florian). Should
I adjust RTL inner functions to this? I mean renaming FPC_COPY to FPC_CLONE
and FPC_ADDREF to FPC_COPY.

Are these the assembler names of existing functions ?

If so, the reason these have an assembler name is that they can be called directly from assembler code. So maybe it is better not rename them, I would think, since we don't know what assembler code calls them. If you change them, then people that call these routines will not get any warning why their code suddenly behaves
differently ?

Michael.
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to