[llvm-commits] CVS: llvm/lib/Target/X86/X86.h

Chris Lattner lattner at cs.uiuc.edu
Tue Oct 29 11:45:04 PST 2002


Changes in directory llvm/lib/Target/X86:

X86.h updated: 1.2 -> 1.3

---
Log message:

Be compatible with sparc backend


---
Diffs of the changes:

Index: llvm/lib/Target/X86/X86.h
diff -u llvm/lib/Target/X86/X86.h:1.2 llvm/lib/Target/X86/X86.h:1.3
--- llvm/lib/Target/X86/X86.h:1.2	Mon Oct 28 17:55:19 2002
+++ llvm/lib/Target/X86/X86.h	Tue Oct 29 11:43:38 2002
@@ -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 @@
 /// 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





More information about the llvm-commits mailing list