summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-29 17:43:38 +0000
committerChris Lattner <sabre@nondot.org>2002-10-29 17:43:38 +0000
commita535fabe7d81f95cf0caebefee1ed44e40eebd7f (patch)
tree6ecd8e8bab7a34f4e33dfff2a740867327f57ebe /lib/Target/X86/X86.h
parent9bbf439e388c1d015558815fc47a56919de5ae3b (diff)
downloadllvm-a535fabe7d81f95cf0caebefee1ed44e40eebd7f.tar.gz
llvm-a535fabe7d81f95cf0caebefee1ed44e40eebd7f.tar.bz2
llvm-a535fabe7d81f95cf0caebefee1ed44e40eebd7f.tar.xz
Be compatible with sparc backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4395 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86.h')
-rw-r--r--lib/Target/X86/X86.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/X86/X86.h b/lib/Target/X86/X86.h
index aa4508a839..d516bf1487 100644
--- a/lib/Target/X86/X86.h
+++ b/lib/Target/X86/X86.h
@@ -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