X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FConstants.h;h=6545a3fedb9220b8c709ac4facbac885e870bedc;hb=7e0d22cbf7b41e93279f574c9b3c557cdf517dcb;hp=e168979beaa14469e77f33ef3c284ce8168fb1b0;hpb=4c7c0f23533565c7e2ddf71e01bf50f2aede5f1b;p=oota-llvm.git diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index e168979beaa..6545a3fedb9 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -203,7 +203,7 @@ 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 uge(uint64_t Num) { + bool uge(uint64_t Num) const { return Val.getActiveBits() > 64 || Val.getZExtValue() >= Num; }