summaryrefslogtreecommitdiffstats
path: root/clang/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
commit5ee9ee490e9bcd0147f1aa2d2163a64b5ccbd802 (patch)
tree81ff185538ee5848f835d31d7174f9a05aaecadb /clang/lib/CodeGen/CGVTT.cpp
parent71c26936a018eabf024514893011b731ddf933b3 (diff)
downloadbcm5719-llvm-5ee9ee490e9bcd0147f1aa2d2163a64b5ccbd802.tar.gz
bcm5719-llvm-5ee9ee490e9bcd0147f1aa2d2163a64b5ccbd802.zip
Move vtable component accessors to VTableContext
llvm-svn: 140504
Diffstat (limited to 'clang/lib/CodeGen/CGVTT.cpp')
-rw-r--r--clang/lib/CodeGen/CGVTT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGVTT.cpp b/clang/lib/CodeGen/CGVTT.cpp
index e3c085a29d8..cb3b39fab33 100644
--- a/clang/lib/CodeGen/CGVTT.cpp
+++ b/clang/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);
OpenPOWER on IntegriCloud