summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-02-08 08:22:06 +0000
committerJohn McCall <rjmccall@apple.com>2011-02-08 08:22:06 +0000
commitad7c5c1657f2504537bb62298f9372873c63d508 (patch)
tree2a6f5a80a514910228be09928ec2b813f131681c /clang/lib/CodeGen/CGClass.cpp
parentf9399453c38f8c7ea5d2784847119937c440e40e (diff)
downloadbcm5719-llvm-ad7c5c1657f2504537bb62298f9372873c63d508.tar.gz
bcm5719-llvm-ad7c5c1657f2504537bb62298f9372873c63d508.zip
Reorganize CodeGen{Function,Module} to eliminate the unfortunate
Block{Function,Module} base class. Minor other refactorings. Fixed a few address-space bugs while I was there. llvm-svn: 125085
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
-rw-r--r--clang/lib/CodeGen/CGClass.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp
index ac2a5445a49..fc239a536f9 100644
--- a/clang/lib/CodeGen/CGClass.cpp
+++ b/clang/lib/CodeGen/CGClass.cpp
@@ -1312,9 +1312,6 @@ llvm::Value *
CodeGenFunction::GetVirtualBaseClassOffset(llvm::Value *This,
const CXXRecordDecl *ClassDecl,
const CXXRecordDecl *BaseClassDecl) {
- const llvm::Type *Int8PtrTy =
- llvm::Type::getInt8Ty(VMContext)->getPointerTo();
-
llvm::Value *VTablePtr = GetVTablePtr(This, Int8PtrTy);
int64_t VBaseOffsetOffset =
CGM.getVTables().getVirtualBaseOffsetOffset(ClassDecl, BaseClassDecl);
OpenPOWER on IntegriCloud