diff options
author | Chris Lattner <sabre@nondot.org> | 2011-06-18 22:49:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-06-18 22:49:11 +0000 |
commit | 7650d95a1a616ea300f37126a8dfc93dc19a662a (patch) | |
tree | 76a7ab3f1101cb49c37458f1e32344916fb4d56c /lib/CodeGen/ItaniumCXXABI.cpp | |
parent | 19bd77c64937d6818c61f2aa9e6a9d51c65d0356 (diff) |
update for api change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133365 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ItaniumCXXABI.cpp')
-rw-r--r-- | lib/CodeGen/ItaniumCXXABI.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/CodeGen/ItaniumCXXABI.cpp b/lib/CodeGen/ItaniumCXXABI.cpp index 34dafef545..77320c7c05 100644 --- a/lib/CodeGen/ItaniumCXXABI.cpp +++ b/lib/CodeGen/ItaniumCXXABI.cpp @@ -180,9 +180,7 @@ const llvm::Type * ItaniumCXXABI::ConvertMemberPointerType(const MemberPointerType *MPT) { if (MPT->isMemberDataPointer()) return getPtrDiffTy(); - else - return llvm::StructType::get(CGM.getLLVMContext(), - getPtrDiffTy(), getPtrDiffTy(), NULL); + return llvm::StructType::get(getPtrDiffTy(), getPtrDiffTy(), NULL); } /// In the Itanium and ARM ABIs, method pointers have the form: |