MachineBasicBlock: Use MCPhysReg instead of unsigned in livein API
[oota-llvm.git] / include / llvm / ADT / APSInt.h
index 83f821b8f15022b22f3cab86eed9cc7d58dcdba1..a6552d0a2f367364cde45ab5c3d2e8737fdfde40 100644 (file)
@@ -247,7 +247,7 @@ public:
     return this->operator|(RHS);
   }
 
-  APSInt operator^(const APSIntRHS) const {
+  APSInt operator^(const APSInt &RHS) const {
     assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!");
     return APSInt(static_cast<const APInt&>(*this) ^ RHS, IsUnsigned);
   }
@@ -286,7 +286,7 @@ public:
   }
 
   /// \brief Determine if two APSInts have the same value, zero- or
-  /// sign-extending as needed.  
+  /// sign-extending as needed.
   static bool isSameValue(const APSInt &I1, const APSInt &I2) {
     return !compareValues(I1, I2);
   }