forked from OSchip/llvm-project
parent
98765e17df
commit
c2d433d47a
|
@ -42,8 +42,7 @@ inline static uint64_t* getMemory(uint32_t numWords) {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
APInt::APInt(uint32_t numBits, uint64_t val)
|
APInt::APInt(uint32_t numBits, uint64_t val) : BitWidth(numBits), VAL(0) {
|
||||||
: BitWidth(numBits), VAL(0) {
|
|
||||||
assert(BitWidth >= IntegerType::MIN_INT_BITS && "bitwidth too small");
|
assert(BitWidth >= IntegerType::MIN_INT_BITS && "bitwidth too small");
|
||||||
assert(BitWidth <= IntegerType::MAX_INT_BITS && "bitwidth too large");
|
assert(BitWidth <= IntegerType::MAX_INT_BITS && "bitwidth too large");
|
||||||
if (isSingleWord())
|
if (isSingleWord())
|
||||||
|
|
Loading…
Reference in New Issue