On Aug 20, 2010, at 3:02 PM, Dan Gohman wrote:

> Author: djg
> Date: Fri Aug 20 17:02:57 2010
> New Revision: 111682
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=111682&view=rev
> Log:
> Introduce a new temporary MDNode concept. Temporary MDNodes are
> not part of the IR, are not uniqued, and may be safely RAUW'd.
> This replaces a variety of alternate mechanisms for achieving
> the same effect.

Nice!

>   // A RD->getName() is not unique. However, the debug info descriptors 
>   // are uniqued so use type name to ensure uniquness.
> +  llvm::DIType FwdDecl =
> +    DebugFactory.CreateTemporaryType(FDContext);

Please update the comment.

-Chris
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to