forked from OSchip/llvm-project
Hacks to make the MachineFunction class be able to delete the MFI object
without knowing anything about it. llvm-svn: 15836
This commit is contained in:
parent
95de5ddbbd
commit
2cb145ceb5
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue