1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

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 {