| commit | 5f9fb3fce53dc9b12eafd31df9b9af85791c9ee7 | [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 | 41cf015beb60718c56c259cf8ff6196ee568e6a9 [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