aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorZhou Sheng <zhousheng00@gmail.com>2007-03-30 05:10:59 +0000
committerZhou Sheng <zhousheng00@gmail.com>2007-03-30 05:10:59 +0000
commit0642f75836960afd547a6b98fad33026d0c355be (patch)
tree29c263d3dfc77ade9cc9978ccd635b923f6f0110 /include/llvm
parentb422d2d9e5632585adb0c1855b217f3123cbdfef (diff)
downloadexternal_llvm-0642f75836960afd547a6b98fad33026d0c355be.zip
external_llvm-0642f75836960afd547a6b98fad33026d0c355be.tar.gz
external_llvm-0642f75836960afd547a6b98fad33026d0c355be.tar.bz2
Rename and correct the method "greaterOrEqual".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35502 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Constants.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index 7e9f5d0..e7020d3 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -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