[llvm-dev] Inline SmallVectorBase::grow_pod?

Reid Kleckner via llvm-dev llvm-dev at lists.llvm.org
Wed Apr 13 10:43:56 PDT 2016

On Tue, Apr 12, 2016 at 5:59 PM, David Farler via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> I see that this method was pulled out of line for
> https://llvm.org/bugs/show_bug.cgi?id=3758 back in 2009. Is there a
> chance we can consider pulling it back into a header? It's kind of a shame
> to have to have to link Support just to use BumpPointerAllocator.

I don't think we want to do that. It's rarely profitable to inline
grow_pod, and it wastes object file size.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160413/92b92ca0/attachment.html>

More information about the llvm-dev mailing list