[cfe-commits] r81073 - /cfe/trunk/lib/CodeGen/CGCXX.cpp
Mike Stump
mrs at apple.com
Sat Sep 5 01:40:18 PDT 2009
Author: mrs
Date: Sat Sep 5 03:40:18 2009
New Revision: 81073
URL: http://llvm.org/viewvc/llvm-project?rev=81073&view=rev
Log:
Cleanups.
Modified:
cfe/trunk/lib/CodeGen/CGCXX.cpp
Modified: cfe/trunk/lib/CodeGen/CGCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGCXX.cpp?rev=81073&r1=81072&r2=81073&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGCXX.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGCXX.cpp Sat Sep 5 03:40:18 2009
@@ -1077,8 +1077,7 @@
return AddressPoint;
}
- void Primaries(const CXXRecordDecl *RD, bool forPrimary,
- bool MorallyVirtual, int64_t Offset, bool ForVirtualBase) {
+ void Primaries(const CXXRecordDecl *RD, bool MorallyVirtual, int64_t Offset) {
if (!RD->isDynamicClass())
return;
@@ -1095,8 +1094,7 @@
if (PrimaryBaseWasVirtual)
IndirectPrimary.insert(PrimaryBase);
Top = false;
- Primaries(PrimaryBase, true, PrimaryBaseWasVirtual|MorallyVirtual,
- Offset, PrimaryBaseWasVirtual);
+ Primaries(PrimaryBase, PrimaryBaseWasVirtual|MorallyVirtual, Offset);
}
// And add the virtuals for the class to the primary vtable.
@@ -1129,8 +1127,7 @@
if (PrimaryBaseWasVirtual)
IndirectPrimary.insert(PrimaryBase);
Top = false;
- Primaries(PrimaryBase, true, PrimaryBaseWasVirtual|MorallyVirtual,
- Offset, PrimaryBaseWasVirtual);
+ Primaries(PrimaryBase, PrimaryBaseWasVirtual|MorallyVirtual, Offset);
}
// And add the virtuals for the class to the primary vtable.
More information about the cfe-commits
mailing list