summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-03-23 04:11:45 +0000
committerAnders Carlsson <andersca@mac.com>2010-03-23 04:11:45 +0000
commita864caff8c0ee4555a7e36ba389421abba23f6fe (patch)
tree1cacff4d0f97506f14fa54fdf7d1bb63044fb4a4 /clang/lib/CodeGen/CGExprAgg.cpp
parent86face833302fd71575a79d08bee8170e7cd2490 (diff)
downloadbcm5719-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/CGExprAgg.cpp')
-rw-r--r--clang/lib/CodeGen/CGExprAgg.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGExprAgg.cpp b/clang/lib/CodeGen/CGExprAgg.cpp
index fa2d04f346f..e2e2cd05041 100644
--- a/clang/lib/CodeGen/CGExprAgg.cpp
+++ b/clang/lib/CodeGen/CGExprAgg.cpp
@@ -333,8 +333,7 @@ void AggExprEmitter::VisitUnaryAddrOf(const UnaryOperator *E) {
llvm::Value *FuncPtr;
if (MD->isVirtual()) {
- int64_t Index =
- CGF.CGM.getVtableInfo().getMethodVtableIndex(MD);
+ int64_t Index = CGF.CGM.getVTables().getMethodVtableIndex(MD);
// Itanium C++ ABI 2.3:
// For a non-virtual function, this field is a simple function pointer.
OpenPOWER on IntegriCloud