[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstr.h

Chris Lattner lattner at cs.uiuc.edu
Mon Jul 19 00:52:35 PDT 2004



Changes in directory llvm/include/llvm/CodeGen:

MachineInstr.h updated: 1.150 -> 1.151

---
Log message:

Delete 4 methods, make clients use hte mark* methods directly


---
Diffs of the changes:  (+1 -7)

Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.150 llvm/include/llvm/CodeGen/MachineInstr.h:1.151
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.150	Thu Jun 24 19:13:06 2004
+++ llvm/include/llvm/CodeGen/MachineInstr.h	Mon Jul 19 02:52:25 2004
@@ -322,7 +322,6 @@
 
   friend std::ostream& operator<<(std::ostream& os, const MachineOperand& mop);
 
-private:
   /// markHi32, markLo32, etc. - These methods must be accessed via
   /// corresponding methods in MachineInstr.  These methods are deprecated
   /// and only used by the SPARC v9 back-end.
@@ -332,6 +331,7 @@
   void markHi64()      { flags |= HIFLAG64; }
   void markLo64()      { flags |= LOFLAG64; }
   
+private:
   /// setRegForValue - Replaces the Value with its corresponding physical
   /// register after register allocation is complete. This is deprecated
   /// and only used by the SPARC v9 back-end.
@@ -664,12 +664,6 @@
   unsigned substituteValue(const Value* oldVal, Value* newVal,
                            bool defsOnly, bool notDefsAndUses,
                            bool& someArgsWereIgnored);
-
-  void setOperandHi32(unsigned i) { operands[i].markHi32(); }
-  void setOperandLo32(unsigned i) { operands[i].markLo32(); }
-  void setOperandHi64(unsigned i) { operands[i].markHi64(); }
-  void setOperandLo64(unsigned i) { operands[i].markLo64(); }
-  
   
   // SetRegForOperand -
   // SetRegForImplicitRef -





More information about the llvm-commits mailing list