summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/CGVTT.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-09-26 01:56:41 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-09-26 01:56:41 +0000
commit84fcc48817bb04c7de1acafcaa1f54ee3235a97b (patch)
treecffa9c37f4311f6f2a80b3cfb9b46f7fa7901d57 /lib/CodeGen/CGVTT.cpp
parentbf1c5aeadc5d4bb7fca5b0ee12208a94971f8492 (diff)
Move vtable component accessors to VTableContext
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140504 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVTT.cpp')
-rw-r--r--lib/CodeGen/CGVTT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGVTT.cpp b/lib/CodeGen/CGVTT.cpp
index e3c085a29d..cb3b39fab3 100644
--- a/lib/CodeGen/CGVTT.cpp
+++ b/lib/CodeGen/CGVTT.cpp
@@ -67,7 +67,7 @@ CodeGenVTables::EmitVTTDefinition(llvm::GlobalVariable *VTT,
uint64_t AddressPoint;
if (VTTVT.getBase() == RD) {
// Just get the address point for the regular vtable.
- AddressPoint = getAddressPoint(i->VTableBase, RD);
+ AddressPoint = VTContext.getAddressPoint(i->VTableBase, RD);
assert(AddressPoint != 0 && "Did not find vtable address point!");
} else {
AddressPoint = VTableAddressPoints[i->VTableIndex].lookup(i->VTableBase);