Combine two lines that can be.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34818 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-03-01 23:30:25 +00:00
parent dbf6d37b0b
commit 295e40aa5c

View File

@ -943,8 +943,7 @@ APInt &APInt::sext(uint32_t width) {
VAL |= mask;
else
pVal[wordsBefore-1] |= mask;
clearUnusedBits();
return *this;
return clearUnusedBits();
}
uint64_t mask = wordBits == 0 ? 0 : ~0ULL << wordBits;