diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-03-01 23:30:25 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-03-01 23:30:25 +0000 |
commit | 1b8dfcbaaa6a0eae28b94d29cd71e6463d6304d5 (patch) | |
tree | c585b6964b231c52cf89f7545e82555f857b1390 /llvm/lib/Support | |
parent | 1700b52b8b29632aa128f0039f47b323029b0585 (diff) | |
download | bcm5719-llvm-1b8dfcbaaa6a0eae28b94d29cd71e6463d6304d5.tar.gz bcm5719-llvm-1b8dfcbaaa6a0eae28b94d29cd71e6463d6304d5.zip |
Combine two lines that can be.
llvm-svn: 34818
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/APInt.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Support/APInt.cpp b/llvm/lib/Support/APInt.cpp index da8e77a7a0e..9b000da0ee3 100644 --- a/llvm/lib/Support/APInt.cpp +++ b/llvm/lib/Support/APInt.cpp @@ -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; |