summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-03-23 04:15:00 +0000
committerAnders Carlsson <andersca@mac.com>2010-03-23 04:15:00 +0000
commit8841024a7c3e45304e39cf66825dd22d1481c7c4 (patch)
treec328e63a820b57ddd08d17d8d1f911c8637b1ada /clang/lib/CodeGen/CodeGenModule.cpp
parenta864caff8c0ee4555a7e36ba389421abba23f6fe (diff)
downloadbcm5719-llvm-8841024a7c3e45304e39cf66825dd22d1481c7c4.tar.gz
bcm5719-llvm-8841024a7c3e45304e39cf66825dd22d1481c7c4.zip
Rename MaybeEmitVtable to EmitVTableRelatedData in preparation for making it emit thunks as well.
llvm-svn: 99251
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 1450bdddac8..50ac7a31fca 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -715,7 +715,7 @@ void CodeGenModule::EmitGlobalDefinition(GlobalDecl GD) {
"Generating code for declaration");
if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(D)) {
- getVTables().MaybeEmitVtable(GD);
+ getVTables().EmitVTableRelatedData(GD);
if (MD->isVirtual() && MD->isOutOfLine() &&
(!isa<CXXDestructorDecl>(D) || GD.getDtorType() != Dtor_Base)) {
if (isa<CXXDestructorDecl>(D)) {
OpenPOWER on IntegriCloud