[lld] r182697 - Use new version of countLeadingZeros.
Michael J. Spencer
bigcheesegs at gmail.com
Fri May 24 17:25:22 PDT 2013
Author: mspencer
Date: Fri May 24 19:25:21 2013
New Revision: 182697
URL: http://llvm.org/viewvc/llvm-project?rev=182697&view=rev
Log:
Use new version of countLeadingZeros.
Modified:
lld/trunk/lib/ReaderWriter/ELF/Reader.cpp
Modified: lld/trunk/lib/ReaderWriter/ELF/Reader.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Reader.cpp?rev=182697&r1=182696&r2=182697&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Reader.cpp (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Reader.cpp Fri May 24 19:25:21 2013
@@ -90,7 +90,7 @@ public:
static_cast<unsigned>(mb->getBufferSize()));
std::size_t MaxAlignment =
- 1ULL << llvm::CountTrailingZeros_64(uintptr_t(mb->getBufferStart()));
+ 1ULL << llvm::countTrailingZeros(uintptr_t(mb->getBufferStart()));
llvm::error_code ec;
switch (fileType) {
More information about the llvm-commits
mailing list