Rename MaybeEmitVtable to EmitVTableRelatedData in preparation for making it emit thunks as well.

llvm-svn: 99251
This commit is contained in:
Anders Carlsson
2010-03-23 04:15:00 +00:00
parent a864caff8c
commit 8841024a7c
3 changed files with 5 additions and 3 deletions

View File

@@ -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)) {