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 | 6b9a5e69f7ffcabedf92e64bb7bea5605f2e41e6 (patch) | |
| tree | 2a286ec08041d2b2b0fc10e287a1da25e53b39c2 /lib/Target | |
| parent | 2d19f78e970f85abae2368c12c3a8f4af37f07c3 (diff) | |
Hacks to make the MachineFunction class be able to delete the MFI object
without knowing anything about it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
| -rw-r--r-- | lib/Target/SparcV9/MachineFunctionInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/MachineFunctionInfo.h b/lib/Target/SparcV9/MachineFunctionInfo.h index 74a75e8e48..f0c970f9ff 100644 --- a/lib/Target/SparcV9/MachineFunctionInfo.h +++ b/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; |
