diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-01-28 23:42:29 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-01-28 23:42:29 +0000 |
commit | 9f9438b31495ff8d0372ba4e0183fe87f14864ed (patch) | |
tree | 7876ef06c74bc9c2aba119172374b5d4651a815e /clang/lib/CodeGen/CGExprCXX.cpp | |
parent | f66a5283ed094de1204ef12d5e1e10dbccdaae0d (diff) | |
download | bcm5719-llvm-9f9438b31495ff8d0372ba4e0183fe87f14864ed.tar.gz bcm5719-llvm-9f9438b31495ff8d0372ba4e0183fe87f14864ed.zip |
More work to support -fapple-kext regarding
indirect vf calls and addition of extra entry
at bottom of vtbls.
llvm-svn: 124507
Diffstat (limited to 'clang/lib/CodeGen/CGExprCXX.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGExprCXX.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGExprCXX.cpp b/clang/lib/CodeGen/CGExprCXX.cpp index 513d80be0b1..03b90e2587a 100644 --- a/clang/lib/CodeGen/CGExprCXX.cpp +++ b/clang/lib/CodeGen/CGExprCXX.cpp @@ -195,6 +195,7 @@ RValue CodeGenFunction::EmitCXXMemberCallExpr(const CXXMemberCallExpr *CE, Callee = BuildVirtualCall(MD, This, Ty); } else { if (getContext().getLangOptions().AppleKext && + MD->isVirtual() && ME->hasQualifier()) Callee = BuildAppleKextVirtualCall(MD, ME->getQualifier(), This, Ty); else |