From a535fabe7d81f95cf0caebefee1ed44e40eebd7f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 29 Oct 2002 17:43:38 +0000 Subject: [PATCH] Be compatible with sparc backend git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4395 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Target/X86/X86.h b/lib/Target/X86/X86.h index aa4508a8394..d516bf1487c 100644 --- a/lib/Target/X86/X86.h +++ b/lib/Target/X86/X86.h @@ -13,6 +13,7 @@ #include class MachineFunction; class Function; +class TargetMachine; /// X86PrintCode - Print out the specified machine code function to the /// specified stream. This function should work regardless of whether or not @@ -24,7 +25,7 @@ void X86PrintCode(const MachineFunction *MF, std::ostream &O); /// a machine code representation is a very simple peep-hole fashion. The /// generated code sucks but the implementation is nice and simple. /// -MachineFunction *X86SimpleInstructionSelection(Function &F); +MachineFunction *X86SimpleInstructionSelection(Function &F, TargetMachine &TM); /// X86SimpleRegisterAllocation - This function converts the specified machine /// code function from SSA form to use explicit registers by spilling every