summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/include/lld/ReaderWriter/RelocationHelperFunctions.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lld/include/lld/ReaderWriter/RelocationHelperFunctions.h b/lld/include/lld/ReaderWriter/RelocationHelperFunctions.h
index cfdbd148b2f..a8bc68c2948 100644
--- a/lld/include/lld/ReaderWriter/RelocationHelperFunctions.h
+++ b/lld/include/lld/ReaderWriter/RelocationHelperFunctions.h
@@ -14,7 +14,7 @@ namespace lld {
/// \brief Return the bits that are described by the mask
template < typename T >
-T BitsGather(T val, T mask)
+T gatherBits(T val, T mask)
{
T result = 0;
size_t off = 0;
@@ -30,8 +30,9 @@ T BitsGather(T val, T mask)
return result;
}
+/// \brief Set the bits as described by the mask
template <typename T>
-T BitsScatter(T val, T mask)
+T scatterBits(T val, T mask)
{
T result = 0;
size_t off = 0;
OpenPOWER on IntegriCloud