r194835 - Remove an unused local from r194827

Hans Wennborg hans at chromium.org
Fri Nov 15 10:35:35 PST 2013


On Fri, Nov 15, 2013 at 10:09 AM, Alp Toker <alp at nuanti.com> wrote:
> Author: alp
> Date: Fri Nov 15 12:09:28 2013
> New Revision: 194835
>
> URL: http://llvm.org/viewvc/llvm-project?rev=194835&view=rev
> Log:
> Remove an unused local from r194827
>
> Modified:
>     cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp
>
> Modified: cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp?rev=194835&r1=194834&r2=194835&view=diff
> ==============================================================================
> --- cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp (original)
> +++ cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp Fri Nov 15 12:09:28 2013
> @@ -989,7 +989,6 @@ MicrosoftCXXABI::EmitVirtualMemPtrThunk(
>                               ThunkName.str(), &CGM.getModule());
>    assert(ThunkFn->getName() == ThunkName && "name was uniqued!");
>
> -  LinkageInfo LV = MD->getLinkageAndVisibility();
>    ThunkFn->setLinkage(MD->isExternallyVisible()
>                            ? llvm::GlobalValue::LinkOnceODRLinkage
>                            : llvm::GlobalValue::InternalLinkage);

Thanks! This was a left-over from an earlier version of the patch.

Cheers,
Hans



More information about the cfe-commits mailing list