[PATCH] D21638: APInt: remove unsued param in private method. NFC
Paweł Bylica via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 27 01:38:58 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL273851: APInt: remove unsued param in private method. NFC (authored by chfast).
Changed prior to commit:
http://reviews.llvm.org/D21638?vs=61656&id=61942#toc
Repository:
rL LLVM
http://reviews.llvm.org/D21638
Files:
llvm/trunk/include/llvm/ADT/APInt.h
llvm/trunk/lib/Support/APInt.cpp
Index: llvm/trunk/lib/Support/APInt.cpp
===================================================================
--- llvm/trunk/lib/Support/APInt.cpp
+++ llvm/trunk/lib/Support/APInt.cpp
@@ -75,7 +75,7 @@
}
-void APInt::initSlowCase(unsigned numBits, uint64_t val, bool isSigned) {
+void APInt::initSlowCase(uint64_t val, bool isSigned) {
pVal = getClearedMemory(getNumWords());
pVal[0] = val;
if (isSigned && int64_t(val) < 0)
Index: llvm/trunk/include/llvm/ADT/APInt.h
===================================================================
--- llvm/trunk/include/llvm/ADT/APInt.h
+++ llvm/trunk/include/llvm/ADT/APInt.h
@@ -181,7 +181,7 @@
unsigned rhsWords, APInt *Quotient, APInt *Remainder);
/// out-of-line slow case for inline constructor
- void initSlowCase(unsigned numBits, uint64_t val, bool isSigned);
+ void initSlowCase(uint64_t val, bool isSigned);
/// shared code between two array constructors
void initFromArray(ArrayRef<uint64_t> array);
@@ -239,7 +239,7 @@
if (isSingleWord())
VAL = val;
else
- initSlowCase(numBits, val, isSigned);
+ initSlowCase(val, isSigned);
clearUnusedBits();
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21638.61942.patch
Type: text/x-patch
Size: 1185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160627/c8dabd2d/attachment.bin>
More information about the llvm-commits
mailing list