aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-07-14 23:08:47 +0000
committerChris Lattner <sabre@nondot.org>2006-07-14 23:08:47 +0000
commitefb9b813fa74d3134dd185df10f6577ceab72bcd (patch)
treea1395a500515b3d7008325f43842ca0836c34ab0 /lib/CodeGen/MachineFunction.cpp
parenta3b5939caa0331eea2efba8a01d04f60f449daeb (diff)
Add an out-of-line virtual function to home class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29154 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
-rw-r--r--lib/CodeGen/MachineFunction.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp
index 05e863be75..6a36c4a58c 100644
--- a/lib/CodeGen/MachineFunction.cpp
+++ b/lib/CodeGen/MachineFunction.cpp
@@ -38,6 +38,8 @@ using namespace llvm;
static AnnotationID MF_AID(
AnnotationManager::getID("CodeGen::MachineCodeForFunction"));
+// Out of line virtual function to home classes.
+void MachineFunctionPass::virtfn() {}
namespace {
struct VISIBILITY_HIDDEN Printer : public MachineFunctionPass {