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 | f2471ec967bce38d9f3ac8a3a3898f302e88d988 (patch) | |
tree | 4bad18a2c1af3661c13a1c2354a89332ae7cd1f3 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 87f540608106f28d9319b2148eb1b00192e020c2 (diff) | |
download | llvm-f2471ec967bce38d9f3ac8a3a3898f302e88d988.zip llvm-f2471ec967bce38d9f3ac8a3a3898f302e88d988.tar.gz llvm-f2471ec967bce38d9f3ac8a3a3898f302e88d988.tar.bz2 |
add hooks to hang target-specific goop off MachineModuleInfo,
move MachineFunctionInfo virtual method out of line to give it
a home.
llvm-svn: 81940
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 14ba360..d0773ff 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/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); } |