diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-15 22:44:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-15 22:44:26 +0000 |
commit | a70e2e3d4831b8a39ea6bae5c62df29fa82a86f3 (patch) | |
tree | 05c14c52d3fe8ebd8caa27117542615e0f00a1ae /lib/CodeGen/MachineFunction.cpp | |
parent | 40fe16fadaccb86d9bff13ebe1c9a0cb20b2251b (diff) |
add hooks to hang target-specific goop off MachineModuleInfo,
move MachineFunctionInfo virtual method out of line to give it
a home.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81940 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | lib/CodeGen/MachineFunction.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index 14ba36011f..d0773ff457 100644 --- a/lib/CodeGen/MachineFunction.cpp +++ b/lib/CodeGen/MachineFunction.cpp @@ -73,6 +73,9 @@ FunctionPass *llvm::createMachineFunctionPrinterPass(raw_ostream &OS, // MachineFunction implementation //===---------------------------------------------------------------------===// +// Out of line virtual method. +MachineFunctionInfo::~MachineFunctionInfo() {} + void ilist_traits<MachineBasicBlock>::deleteNode(MachineBasicBlock *MBB) { MBB->getParent()->DeleteMachineBasicBlock(MBB); } |