diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-16 22:37:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-16 22:37:18 +0000 |
commit | 2cb145ceb54dc22b587806cf07031aa319083b79 (patch) | |
tree | 29dff4186432b21c0df59b0a1e17c0354299e583 /llvm/lib/Target/SparcV9 | |
parent | 95de5ddbbd089db39e522968e88655af1db7368a (diff) | |
download | bcm5719-llvm-2cb145ceb54dc22b587806cf07031aa319083b79.tar.gz bcm5719-llvm-2cb145ceb54dc22b587806cf07031aa319083b79.zip |
Hacks to make the MachineFunction class be able to delete the MFI object
without knowing anything about it.
llvm-svn: 15836
Diffstat (limited to 'llvm/lib/Target/SparcV9')
-rw-r--r-- | llvm/lib/Target/SparcV9/MachineFunctionInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/SparcV9/MachineFunctionInfo.h b/llvm/lib/Target/SparcV9/MachineFunctionInfo.h index 74a75e8e483..f0c970f9ff7 100644 --- a/llvm/lib/Target/SparcV9/MachineFunctionInfo.h +++ b/llvm/lib/Target/SparcV9/MachineFunctionInfo.h @@ -19,6 +19,7 @@ #define MACHINEFUNCTIONINFO_H #include "MachineCodeForInstruction.h" +#include "llvm/CodeGen/MachineFunction.h" #include "Support/HashExtras.h" #include "Support/hash_set" @@ -28,7 +29,7 @@ class MachineFunction; class Constant; class Type; -class MachineFunctionInfo { +class MachineFunctionInfo : public MachineFunctionInfoBase { hash_set<const Constant*> constantsForConstPool; hash_map<const Value*, int> offsets; |