On 12/01/19 12:47, denisgolovan wrote:
07.01.2019, 00:45, "Jonas Maebe" <jo...@freepascal.org>:
Not besides breaking your dependency cycles.
Sorry, but for necro-posting, but shouldn't WPO is supposed to help to inline
functions as well?
Not at this time (unless you use the LLVM backend). However, what you
actually can do, is manually recompile all units of your program
multiple times. While this won't help with inline functions called
before they are parsed in those same units, it will allow inlining of
function bodies in other units that were not available during the first
compilation due to dependency cycles.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal