diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2013-07-19 08:14:45 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2013-07-19 08:14:45 +0000 |
commit | 03e8746f90f43cb837e1a42fa290ff61ea253782 (patch) | |
tree | 3800eb01050b51c68124fc0c2d7e3244f4cd2940 /clang/lib/CodeGen/MicrosoftCXXABI.cpp | |
parent | 90a735d606491fc9cafc89bbe13d1f144fa70e7f (diff) | |
download | bcm5719-llvm-03e8746f90f43cb837e1a42fa290ff61ea253782.tar.gz bcm5719-llvm-03e8746f90f43cb837e1a42fa290ff61ea253782.zip |
Simplify the CodeGenFunction::Build*Virtual*Call family of functions
llvm-svn: 186657
Diffstat (limited to 'clang/lib/CodeGen/MicrosoftCXXABI.cpp')
-rw-r--r-- | clang/lib/CodeGen/MicrosoftCXXABI.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/MicrosoftCXXABI.cpp b/clang/lib/CodeGen/MicrosoftCXXABI.cpp index f1e10db0ad7..22d548857b7 100644 --- a/clang/lib/CodeGen/MicrosoftCXXABI.cpp +++ b/clang/lib/CodeGen/MicrosoftCXXABI.cpp @@ -490,7 +490,8 @@ void MicrosoftCXXABI::EmitVirtualDestructorCall(CodeGenFunction &CGF, const CGFunctionInfo *FInfo = &CGM.getTypes().arrangeCXXDestructor(Dtor, Dtor_Deleting); llvm::Type *Ty = CGF.CGM.getTypes().GetFunctionType(*FInfo); - llvm::Value *Callee = CGF.BuildVirtualCall(Dtor, Dtor_Deleting, This, Ty); + llvm::Value *Callee + = CGF.BuildVirtualCall(GlobalDecl(Dtor, Dtor_Deleting), This, Ty); ASTContext &Context = CGF.getContext(); llvm::Value *ImplicitParam |