commit | 9594acf32de2939b15eafa8fe818607bfc56bf66 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Jul 15 00:25:26 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Jul 15 00:25:26 2007 +0000 |
tree | 7a6b83a0b4ddccddcd1c4e8de7d89edc09b0e39d | |
parent | 9e344c65b1e8b83e1d3ada507cf653526ff2c005 [diff] |
Cache macro expander objects to avoid thrashing malloc in heavy expansion situations. This doesn't significantly improve carbon.h, but it does speed up INPUTS/macro_pounder_obj.c by 48% git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39864 91177308-0d34-0410-b5e6-96231b3b80d8