Cosmetic rename for more clarity

This commit is contained in:
Zahary Karadjov 2019-08-19 18:15:32 +03:00 committed by zah
parent 888a5aa82d
commit 43bbe48e5f
1 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ template loopOverWords(lhs, rhs: BitSeq,
template lastWordBytes(bitseq): auto =
Bytes(bitseq).toOpenArray(firstByteOfLastWord, lastByteOfLastWord)
template initBitsVars =
template initLastWords =
lhsWord = loadLEBytes(WordType, lastWordBytes(lhs))
when hasRhs: rhsWord = loadLEBytes(WordType, lastWordBytes(rhs))
@ -108,7 +108,7 @@ template loopOverWords(lhs, rhs: BitSeq,
firstByteOfLastWord = bytesCount - lastWordSize
lastByteOfLastWord = bytesCount - 1
initBitsVars()
initLastWords()
let markerPos = log2trunc(lhsWord)
when hasRhs: doAssert log2trunc(rhsWord) == markerPos