aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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