diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-15 20:48:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-15 20:48:12 +0000 |
commit | 1316249ad27415215de7764f7796bb20a72345e6 (patch) | |
tree | 5773cd19a7ae2b4e6622a885082829996e35db84 /clang/lib/AST/ExprCXX.cpp | |
parent | c87c16b030c5ab8284df9a08495921411a10a8f3 (diff) | |
download | bcm5719-llvm-1316249ad27415215de7764f7796bb20a72345e6.tar.gz bcm5719-llvm-1316249ad27415215de7764f7796bb20a72345e6.zip |
enable reuse of MacroArgs objects. This is a small (2.5%) win
on PR5610 (2.185 -> 2.130s). The big issue is that this is making
insanely huge macro argument lists with over a million tokens in it.
The reason that mallco and free are so expensive is that we are
actually going to the kernel to get it, and switching to a bump
pointer allocator won't change this in an interesting way.
llvm-svn: 91449
Diffstat (limited to 'clang/lib/AST/ExprCXX.cpp')
0 files changed, 0 insertions, 0 deletions