diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-07-07 15:29:16 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-07-07 15:29:16 +0000 |
| commit | ccef89db6550532d903ecd18b429be02ea6857ec (patch) | |
| tree | 25540d6e9cfee5ab116c044242249a8215f4ceac /clang/lib | |
| parent | 26a90f85f7e3b29158e94f77bd462bb90d01b1e6 (diff) | |
| download | bcm5719-llvm-ccef89db6550532d903ecd18b429be02ea6857ec.tar.gz bcm5719-llvm-ccef89db6550532d903ecd18b429be02ea6857ec.zip | |
MS ABI: Don't unnecessarily use CGM abstraction
If we are in MicrosoftCXXABI, we don't need to use CGM to get a
TypeDescriptor.
llvm-svn: 212463
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/CodeGen/MicrosoftCXXABI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/MicrosoftCXXABI.cpp b/clang/lib/CodeGen/MicrosoftCXXABI.cpp index aa0f6d493f3..52438644baa 100644 --- a/clang/lib/CodeGen/MicrosoftCXXABI.cpp +++ b/clang/lib/CodeGen/MicrosoftCXXABI.cpp @@ -2778,7 +2778,7 @@ MSRTTIBuilder::getBaseClassDescriptor(const MSRTTIClass &Class) { // Initialize the BaseClassDescriptor. llvm::Constant *Fields[] = { ABI.getImageRelativeConstant( - CGM.GetAddrOfRTTIDescriptor(Context.getTypeDeclType(Class.RD))), + ABI.getAddrOfRTTIDescriptor(Context.getTypeDeclType(Class.RD))), llvm::ConstantInt::get(CGM.IntTy, Class.NumBases), llvm::ConstantInt::get(CGM.IntTy, Class.OffsetInVBase), llvm::ConstantInt::get(CGM.IntTy, VBPtrOffset), |

