Change APFloat::convertFromInteger to take the incoming
[oota-llvm.git] / lib / Support / APInt.cpp
index 4a4474dbe7e98a2936373e068e4197c36d3d38ee..63bde6c426274aeb1808b5e826caa8022eaa53b8 100644 (file)
@@ -58,7 +58,7 @@ APInt::APInt(uint32_t numBits, uint64_t val, bool isSigned)
   clearUnusedBits();
 }
 
-APInt::APInt(uint32_t numBits, uint32_t numWords, uint64_t bigVal[])
+APInt::APInt(uint32_t numBits, uint32_t numWords, const uint64_t bigVal[])
   : BitWidth(numBits), VAL(0)  {
   assert(BitWidth >= IntegerType::MIN_INT_BITS && "bitwidth too small");
   assert(BitWidth <= IntegerType::MAX_INT_BITS && "bitwidth too large");