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/CGExprCXX.cpp | |
parent | ff885ce667385ed9573bc641a6e1a058948e14d9 (diff) | |
download | bcm5719-llvm-7f6f81ba9bb6d9b762e51a70081f11904fcaa027.tar.gz bcm5719-llvm-7f6f81ba9bb6d9b762e51a70081f11904fcaa027.zip |
Clean up of -fapple-kext abi code. No change otherwise.
llvm-svn: 124807
Diffstat (limited to 'clang/lib/CodeGen/CGExprCXX.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGExprCXX.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGExprCXX.cpp b/clang/lib/CodeGen/CGExprCXX.cpp index cd61f852830..bd971af96d8 100644 --- a/clang/lib/CodeGen/CGExprCXX.cpp +++ b/clang/lib/CodeGen/CGExprCXX.cpp @@ -228,7 +228,7 @@ RValue CodeGenFunction::EmitCXXMemberCallExpr(const CXXMemberCallExpr *CE, if (getContext().getLangOptions().AppleKext && MD->isVirtual() && ME->hasQualifier()) - Callee = BuildAppleKextVirtualCall(MD, ME->getQualifier(), This, Ty); + Callee = BuildAppleKextVirtualCall(MD, ME->getQualifier(), Ty); else Callee = CGM.GetAddrOfFunction(GlobalDecl(Dtor, Dtor_Complete), Ty); } @@ -241,7 +241,7 @@ RValue CodeGenFunction::EmitCXXMemberCallExpr(const CXXMemberCallExpr *CE, if (getContext().getLangOptions().AppleKext && MD->isVirtual() && ME->hasQualifier()) - Callee = BuildAppleKextVirtualCall(MD, ME->getQualifier(), This, Ty); + Callee = BuildAppleKextVirtualCall(MD, ME->getQualifier(), Ty); else Callee = CGM.GetAddrOfFunction(MD, Ty); } |