|
From: Bryan O'S. <bo...@se...> - 2005-03-17 16:50:52
|
On Thu, 2005-03-17 at 16:08 +0000, Julian Seward wrote: > However, if one of the bits of extra knowledge happens to be a copy > of the function's body, then at least there is the possibility that > it can inline the fn. Yes. It's unfortunately very difficult to figure out which functions are candidates for inlining, and which are going to be merely decorated in the IR. You can't simply grep for something in builtins.def. We've ended up just tracking each inlined case down by hand in our compiler as we've needed to reproduce something gcc does. <b -- Bryan O'Sullivan <bo...@se...> |