Be compatible with sparc backend
authorChris Lattner <sabre@nondot.org>
Tue, 29 Oct 2002 17:43:38 +0000 (17:43 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 29 Oct 2002 17:43:38 +0000 (17:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4395 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86.h

index aa4508a8394e640244757420e53f45e80a721b83..d516bf1487c077c88396a90e79d48c367ed03bda 100644 (file)
@@ -13,6 +13,7 @@
 #include <iosfwd>
 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