[llvm-commits] [llvm] r95918 - /llvm/trunk/lib/VMCore/LLVMContextImpl.h
Nick Lewycky
nicholas at mxc.ca
Fri Feb 12 23:15:49 PST 2010
Devang Patel wrote:
> Author: dpatel
> Date: Thu Feb 11 14:58:56 2010
> New Revision: 95918
>
> URL: http://llvm.org/viewvc/llvm-project?rev=95918&view=rev
> Log:
> revert 95903.
Why?
>
> Modified:
> llvm/trunk/lib/VMCore/LLVMContextImpl.h
>
> Modified: llvm/trunk/lib/VMCore/LLVMContextImpl.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/LLVMContextImpl.h?rev=95918&r1=95917&r2=95918&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/VMCore/LLVMContextImpl.h (original)
> +++ llvm/trunk/lib/VMCore/LLVMContextImpl.h Thu Feb 11 14:58:56 2010
> @@ -224,10 +224,7 @@
> if (I->second->use_empty())
> delete I->second;
> }
> - while (!MDNodeSet.empty()) {
> - MDNode *N =&(*MDNodeSet.begin());
> - N->destroy();
> - }
> + MDNodeSet.clear();
> AlwaysOpaqueTy->dropRef();
> for (OpaqueTypesTy::iterator I = OpaqueTypes.begin(), E = OpaqueTypes.end();
> I != E; ++I) {
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
More information about the llvm-commits
mailing list