mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-29 06:53:53 +00:00
Rename and correct the method "greaterOrEqual".
llvm-svn: 35502
This commit is contained in:
parent
489a1dbb92
commit
3352181fc8
@ -179,8 +179,8 @@ public:
|
||||
/// value.
|
||||
/// @returns true iff this constant is greater or equal to the given number.
|
||||
/// @brief Determine if the value is greater or equal to the given number.
|
||||
bool greaterOrEqual(uint64_t Num) {
|
||||
return Val.getActiveBits() > 64 || Val.getZExtValue() > Num;
|
||||
bool uge(uint64_t Num) {
|
||||
return Val.getActiveBits() > 64 || Val.getZExtValue() >= Num;
|
||||
}
|
||||
|
||||
/// @returns the 64-bit value of this constant if its active bits number is
|
||||
|
Loading…
Reference in New Issue
Block a user