On Jun 20, 2012, at 11:11 AM, Benjamin Kramer <[email protected]> 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
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to