aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGVtable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/CGVtable.cpp')
-rw-r--r--lib/CodeGen/CGVtable.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/CodeGen/CGVtable.cpp b/lib/CodeGen/CGVtable.cpp
index 2e4cb61b1f..47509616c5 100644
--- a/lib/CodeGen/CGVtable.cpp
+++ b/lib/CodeGen/CGVtable.cpp
@@ -3881,13 +3881,6 @@ void CodeGenVTables::EmitThunk(GlobalDecl GD, const ThunkInfo &Thunk)
void CodeGenVTables::EmitThunks(GlobalDecl GD)
{
- // FIXME: We use the -fdump-vtable-layouts flag to trigger the new thunk
- // building code for now.
- if (!CGM.getLangOptions().DumpVtableLayouts) {
- CGM.BuildThunksForVirtual(GD);
- return;
- }
-
const CXXMethodDecl *MD =
cast<CXXMethodDecl>(GD.getDecl())->getCanonicalDecl();