diff options
-rw-r--r-- | lib/VMCore/Type.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp index b41d1a0414..00c6d48dce 100644 --- a/lib/VMCore/Type.cpp +++ b/lib/VMCore/Type.cpp @@ -977,7 +977,7 @@ const IntegerType *IntegerType::get(unsigned NumBits) { bool IntegerType::isPowerOf2ByteWidth() const { unsigned BitWidth = getBitWidth(); - return (BitWidth > 7 && Log2_32(BitWidth) == Log2_32_Ceil(BitWidth)); + return (BitWidth > 7) && isPowerOf2_32(BitWidth); } // FunctionValType - Define a class to hold the key that goes into the TypeMap |