diff options
author | Anders Carlsson <andersca@mac.com> | 2010-03-23 04:11:45 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-03-23 04:11:45 +0000 |
commit | a864caff8c0ee4555a7e36ba389421abba23f6fe (patch) | |
tree | 1cacff4d0f97506f14fa54fdf7d1bb63044fb4a4 /clang/lib/CodeGen/CGDebugInfo.cpp | |
parent | 86face833302fd71575a79d08bee8170e7cd2490 (diff) | |
download | bcm5719-llvm-a864caff8c0ee4555a7e36ba389421abba23f6fe.tar.gz bcm5719-llvm-a864caff8c0ee4555a7e36ba389421abba23f6fe.zip |
Rename CGVtableInfo to CodeGenVTables in preparation of adding another VTableInfo class.
llvm-svn: 99250
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index df1a24ce31c..97e99ea1e08 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -608,7 +608,7 @@ CGDebugInfo::CreateCXXMemberFunction(const CXXMethodDecl *Method, // It doesn't make sense to give a virtual destructor a vtable index, // since a single destructor has two entries in the vtable. if (!isa<CXXDestructorDecl>(Method)) - VIndex = CGM.getVtableInfo().getMethodVtableIndex(Method); + VIndex = CGM.getVTables().getMethodVtableIndex(Method); ContainingType = RecordTy; } @@ -666,7 +666,7 @@ CollectCXXBases(const CXXRecordDecl *RD, llvm::DIFile Unit, if (BI->isVirtual()) { // virtual base offset offset is -ve. The code generator emits dwarf // expression where it expects +ve number. - BaseOffset = 0 - CGM.getVtableInfo().getVirtualBaseOffsetOffset(RD, Base); + BaseOffset = 0 - CGM.getVTables().getVirtualBaseOffsetOffset(RD, Base); BFlags = llvm::DIType::FlagVirtual; } else BaseOffset = RL.getBaseClassOffset(Base); |