diff --git a/llvm/lib/Target/SparcV9/MachineFunctionInfo.h b/llvm/lib/Target/SparcV9/MachineFunctionInfo.h index 74a75e8e483c..f0c970f9ff7a 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 constantsForConstPool; hash_map offsets;