mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
Change APFloat::convertFromInteger to take the incoming
bit width instead of number of words allocated, which makes it actually work for int->APF conversions. Adjust callers. Add const to one of the APInt constructors to prevent surprising match when called with const argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42210 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -172,7 +172,7 @@ public:
|
||||
/// @param numWords the number of words in bigVal
|
||||
/// @param bigVal a sequence of words to form the initial value of the APInt
|
||||
/// @brief Construct an APInt of numBits width, initialized as bigVal[].
|
||||
APInt(uint32_t numBits, uint32_t numWords, uint64_t bigVal[]);
|
||||
APInt(uint32_t numBits, uint32_t numWords, const uint64_t bigVal[]);
|
||||
|
||||
/// This constructor interprets Val as a string in the given radix. The
|
||||
/// interpretation stops when the first charater that is not suitable for the
|
||||
|
Reference in New Issue
Block a user