summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-04 05:35:38 +0000
committerChris Lattner <sabre@nondot.org>2009-03-04 05:35:38 +0000
commit1a84994c4617af3971ac889a192a10647131fa1b (patch)
tree9eaec2050ff318cdf042d07dfe1594cd4bc1492a /clang/lib/CodeGen
parent7b26b293516b67fe5644ec5d47f254341c4d8991 (diff)
downloadbcm5719-llvm-1a84994c4617af3971ac889a192a10647131fa1b.tar.gz
bcm5719-llvm-1a84994c4617af3971ac889a192a10647131fa1b.zip
allocate MultiKeywordSelector's out of a bump pointer allocator instead of malloc.
This has two advantages 1) no more leaking them, 2) fewer calls to malloc. This changes us from calling malloc 3685/1390/883/2974/1185 times respectively on 16/20/24/28/32 byte objects when parsing cocoa.h with pth and -disable-free to calling it 2816/1020/702/2903/1168 times each respectively. llvm-svn: 66017
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud