Delete 4 methods, make clients use hte mark* methods directly
authorChris Lattner <sabre@nondot.org>
Mon, 19 Jul 2004 07:52:25 +0000 (07:52 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 19 Jul 2004 07:52:25 +0000 (07:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14999 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineInstr.h

index 97c60f9e3ad59710b1bdab412e4a2d697adc1e01..890a2930d25c6eda8818fe824e53f79c55e8f0ec 100644 (file)
@@ -322,7 +322,6 @@ public:
 
   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 @@ private:
   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 @@ public:
   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 -