summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2013-08-21 06:25:03 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2013-08-21 06:25:03 +0000
commit88fd439a24c3e889ea1b55e167e542b6d17b2242 (patch)
treeb3544b746f2b96f5e9364ced9880556ea00c54e9 /clang/lib/CodeGen/CGClass.cpp
parented89b5c6e70733f86092496b469fe385b834d02f (diff)
downloadbcm5719-llvm-88fd439a24c3e889ea1b55e167e542b6d17b2242.tar.gz
bcm5719-llvm-88fd439a24c3e889ea1b55e167e542b6d17b2242.zip
Abstract out virtual calls and virtual function prologue code generation; implement them for -cxx-abi microsoft
llvm-svn: 188870
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
-rw-r--r--clang/lib/CodeGen/CGClass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp
index d00d1d062af..f47920d8b53 100644
--- a/clang/lib/CodeGen/CGClass.cpp
+++ b/clang/lib/CodeGen/CGClass.cpp
@@ -2125,7 +2125,7 @@ CodeGenFunction::EmitCXXOperatorMemberCallee(const CXXOperatorCallExpr *E,
CGM.getTypes().arrangeCXXMethodDeclaration(MD));
if (UseVirtualCall(getContext(), E, MD))
- return BuildVirtualCall(MD, This, fnType);
+ return CGM.getCXXABI().getVirtualFunctionPointer(*this, MD, This, fnType);
return CGM.GetAddrOfFunction(MD, fnType);
}
OpenPOWER on IntegriCloud