commit | 527e616722f45986883cbc20e4bbb5d1651e75f4 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Wed Jun 20 18:11:18 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Wed Jun 20 18:11:18 2012 +0000 |
tree | 5c7c75c187e9448f5e98282e79a26ad272ad81e2 | |
parent | 6f61ba2e57aac6fc76638addce18ed59137ab9c1 [diff] |
Don't circumvent the debug info type cache when emitting info for EnumConstantDecl. CreateEnumType doesn't participate in caching so the descriptor for the enum gets recomputed for every reference of an element of an enum, only to get discarded when it gets turned into an MDNode. No functionality change except performance. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158832 91177308-0d34-0410-b5e6-96231b3b80d8