[fpc-devel] FreeInstance

Ben Grasset operator97 at gmail.com
Wed Aug 1 15:06:01 CEST 2018


> I’m still trying to find this with no luck.

Doing a quick search for the word "freeinstance" in the compiler source
shows two places where it looks for a member function with that name in the
global "current_structdef" variable. I'm fairly certain the one you're
looking for is in a function called "generate_bodyexit_block" at line 587
of psub.pas.

https://github.com/graemeg/freepascal/blob/master/compiler/psub.pas#L587
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20180801/d45508ff/attachment.html>


More information about the fpc-devel mailing list