diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2011-02-03 19:27:17 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-02-03 19:27:17 +0000 |
| commit | 7f6f81ba9bb6d9b762e51a70081f11904fcaa027 (patch) | |
| tree | 5e525f03b122deca3441d11e3eefc77aae415b21 /clang/lib/CodeGen/CGClass.cpp | |
| parent | ff885ce667385ed9573bc641a6e1a058948e14d9 (diff) | |
| download | llvm-7f6f81ba9bb6d9b762e51a70081f11904fcaa027.zip llvm-7f6f81ba9bb6d9b762e51a70081f11904fcaa027.tar.gz llvm-7f6f81ba9bb6d9b762e51a70081f11904fcaa027.tar.bz2 | |
Clean up of -fapple-kext abi code. No change otherwise.
llvm-svn: 124807
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGClass.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp index 905e168..ac2a544 100644 --- a/clang/lib/CodeGen/CGClass.cpp +++ b/clang/lib/CodeGen/CGClass.cpp @@ -1270,7 +1270,8 @@ void CodeGenFunction::EmitCXXDestructorCall(const CXXDestructorDecl *DD, ForVirtualBase); llvm::Value *Callee = 0; if (getContext().getLangOptions().AppleKext) - Callee = BuildAppleKextVirtualDestructorCall(DD, Type); + Callee = BuildAppleKextVirtualDestructorCall(DD, Type, + DD->getParent()); if (!Callee) Callee = CGM.GetAddrOfCXXDestructor(DD, Type); |
