1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Combine two lines that can be.

llvm-svn: 34818
This commit is contained in:
Reid Spencer 2007-03-01 23:30:25 +00:00
parent c5d33cef76
commit f8f8413839

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;