From 2cb145ceb54dc22b587806cf07031aa319083b79 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 16 Aug 2004 22:37:18 +0000 Subject: Hacks to make the MachineFunction class be able to delete the MFI object without knowing anything about it. llvm-svn: 15836 --- llvm/lib/Target/SparcV9/MachineFunctionInfo.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/lib/Target') 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 constantsForConstPool; hash_map offsets; -- cgit v1.2.3