[cfe-commits] r158832 - /cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Eric Christopher echristo at apple.com
Wed Jun 27 16:55:18 PDT 2012


On Jun 20, 2012, at 11:11 AM, Benjamin Kramer <benny.kra at googlemail.com> wrote:

> 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.

Nice catch! Thank you!

-eric



More information about the cfe-commits mailing list