projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b422d2d
)
Rename and correct the method "greaterOrEqual".
author
Zhou Sheng
<zhousheng00@gmail.com>
Fri, 30 Mar 2007 05:10:59 +0000
(
05:10
+0000)
committer
Zhou Sheng
<zhousheng00@gmail.com>
Fri, 30 Mar 2007 05:10:59 +0000
(
05:10
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35502
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Constants.h
patch
|
blob
|
history
diff --git
a/include/llvm/Constants.h
b/include/llvm/Constants.h
index 7e9f5d07475874a84415de2aa12d47e85e7b672d..e7020d3699803d8f328b5a4751276a6997c9b244 100644
(file)
--- 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