r200861 - Remove unused variable to fix -Werror build
Reid Kleckner
reid at kleckner.net
Wed Feb 5 10:00:01 PST 2014
Author: rnk
Date: Wed Feb 5 12:00:01 2014
New Revision: 200861
URL: http://llvm.org/viewvc/llvm-project?rev=200861&view=rev
Log:
Remove unused variable to fix -Werror build
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=200861&r1=200860&r2=200861&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp (original)
+++ cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp Wed Feb 5 12:00:01 2014
@@ -1510,9 +1510,6 @@ MicrosoftCXXABI::BuildMemberPointer(cons
FirstField = llvm::Constant::getNullValue(CGM.VoidPtrTy);
} else {
SmallString<256> ThunkName;
- CharUnits PointerWidth = getContext().toCharUnitsFromBits(
- getContext().getTargetInfo().getPointerWidth(0));
- uint64_t OffsetInVFTable = ML.Index * PointerWidth.getQuantity();
llvm::raw_svector_ostream Out(ThunkName);
getMangleContext().mangleVirtualMemPtrThunk(MD, Out);
Out.flush();
More information about the cfe-commits
mailing list