aboutsummaryrefslogtreecommitdiff
path: root/lib/Target
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/SparcV9/MachineFunctionInfo.h3
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;