[fpc-devel] estimating function code size

Gennadiy Poryev core at barvinok.net
Wed Jan 18 14:08:35 CET 2012

> Do you think it's granted that there is only one return in a function ?
> Maybe optimization or "exit" could create additional returns

Actually I do. Because I write this function :)
It uses quite a lot of loops and ifs, but no exits.
And what I need is a reliable way to get its code size at runtime without manually inspecting it on every rebuild.

More information about the fpc-devel mailing list