aboutsummaryrefslogtreecommitdiff
path: root/llvm/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
commit436c2dd92712e06419fb80cc5db6b278972c4129 (patch)
tree1cfec0b623636e5c4de5656e4da20a8b69b9f731 /llvm/lib/CodeGen/MachineFunction.cpp
parent2e1d01541a994a4d30f4df7ff8e98c46f2c75b4f (diff)
downloadllvm-436c2dd92712e06419fb80cc5db6b278972c4129.zip
llvm-436c2dd92712e06419fb80cc5db6b278972c4129.tar.gz
llvm-436c2dd92712e06419fb80cc5db6b278972c4129.tar.bz2
Add an out-of-line virtual function to home class.
llvm-svn: 29154
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index 05e863b..6a36c4a 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/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 {