aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/MachineFunction.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-15 22:44:26 +0000
committerChris Lattner <sabre@nondot.org>2009-09-15 22:44:26 +0000
commit72ba67246b322935e03e118480c6b8c235669b35 (patch)
tree05c14c52d3fe8ebd8caa27117542615e0f00a1ae /include/llvm/CodeGen/MachineFunction.h
parent4c9a0d70e34e1cc679f71bc5ca8e9554255b18d6 (diff)
downloadexternal_llvm-72ba67246b322935e03e118480c6b8c235669b35.tar.gz
external_llvm-72ba67246b322935e03e118480c6b8c235669b35.tar.bz2
external_llvm-72ba67246b322935e03e118480c6b8c235669b35.zip
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 'include/llvm/CodeGen/MachineFunction.h')
-rw-r--r--include/llvm/CodeGen/MachineFunction.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h
index ce0a208c77..9fe5dfd622 100644
--- a/include/llvm/CodeGen/MachineFunction.h
+++ b/include/llvm/CodeGen/MachineFunction.h
@@ -63,7 +63,7 @@ private:
/// of type are accessed/created with MF::getInfo and destroyed when the
/// MachineFunction is destroyed.
struct MachineFunctionInfo {
- virtual ~MachineFunctionInfo() {}
+ virtual ~MachineFunctionInfo();
};
class MachineFunction {
@@ -159,8 +159,8 @@ public:
///
void setAlignment(unsigned A) { Alignment = A; }
- /// MachineFunctionInfo - Keep track of various per-function pieces of
- /// information for backends that would like to do so.
+ /// getInfo - Keep track of various per-function pieces of information for
+ /// backends that would like to do so.
///
template<typename Ty>
Ty *getInfo() {