commit | 0ea76727ae91bca918a8414ed85b530eddcfedeb | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Mon Dec 15 19:56:42 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Mon Dec 15 19:56:42 2008 +0000 |
tree | 7a572aa8d11e2f4c95caabe869f41c5b0ca44b13 | |
parent | 55f7bcbda37964d3c0e8928d0e50a6e1692b7dce [diff] |
Preprocessor: Allocate MacroInfo objects using a BumpPtrAllocator instead using new/delete. This speeds up -Eonly on Cocoa.h using the regular lexer by 1.8% and the PTHLexer by 3%. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61042 91177308-0d34-0410-b5e6-96231b3b80d8