[llvm-commits] CVS: llvm/lib/Support/APInt.cpp

Reid Spencer reid at x10sys.com
Thu Mar 1 15:30:42 PST 2007



Changes in directory llvm/lib/Support:

APInt.cpp updated: 1.63 -> 1.64
---
Log message:

Combine two lines that can be.


---
Diffs of the changes:  (+1 -2)

 APInt.cpp |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/lib/Support/APInt.cpp
diff -u llvm/lib/Support/APInt.cpp:1.63 llvm/lib/Support/APInt.cpp:1.64
--- llvm/lib/Support/APInt.cpp:1.63	Thu Mar  1 11:47:31 2007
+++ llvm/lib/Support/APInt.cpp	Thu Mar  1 17:30:25 2007
@@ -943,8 +943,7 @@
       VAL |= mask;
     else
       pVal[wordsBefore-1] |= mask;
-    clearUnusedBits();
-    return *this;
+    return clearUnusedBits();
   }
 
   uint64_t mask = wordBits == 0 ? 0 : ~0ULL << wordBits;






More information about the llvm-commits mailing list