Give ConstantRange an operator=

llvm-svn: 110376
This commit is contained in:
Owen Anderson 2010-08-05 20:51:10 +00:00
parent 68f5d1e7fa
commit aeaf73ecb2

View File

@ -139,6 +139,12 @@ public:
///
APInt getSignedMin() const;
/// operator= - Copy one ConstantRange over another.
void operator=(const ConstantRange &CR) {
Lower = CR.Lower;
Upper = CR.Upper;
}
/// operator== - Return true if this range is equal to another range.
///
bool operator==(const ConstantRange &CR) const {