aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Bitcode
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2013-01-21 18:04:19 +0000
committerChris Lattner <sabre@nondot.org>2013-01-21 18:04:19 +0000
commitfd0543d9be9886398628e411aba8c392b28d17b6 (patch)
treea336a7b064b22b13942c0a2d88d3f3984803228d /include/llvm/Bitcode
parentdc0a5fd226f85711018663526b4acd1c886367d3 (diff)
downloadexternal_llvm-fd0543d9be9886398628e411aba8c392b28d17b6.zip
external_llvm-fd0543d9be9886398628e411aba8c392b28d17b6.tar.gz
external_llvm-fd0543d9be9886398628e411aba8c392b28d17b6.tar.bz2
rename "SkipToWord" to "SkipToFourByteBoundary" since a word is not always 4 bytes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173062 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode')
-rw-r--r--include/llvm/Bitcode/BitstreamReader.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Bitcode/BitstreamReader.h b/include/llvm/Bitcode/BitstreamReader.h
index 847aaad..16f9686 100644
--- a/include/llvm/Bitcode/BitstreamReader.h
+++ b/include/llvm/Bitcode/BitstreamReader.h
@@ -422,7 +422,7 @@ public:
}
}
- void SkipToWord() {
+ void SkipToFourByteBoundary() {
BitsInCurWord = 0;
CurWord = 0;
}
@@ -448,7 +448,7 @@ public:
// Read and ignore the codelen value. Since we are skipping this block, we
// don't care what code widths are used inside of it.
ReadVBR(bitc::CodeLenWidth);
- SkipToWord();
+ SkipToFourByteBoundary();
unsigned NumWords = Read(bitc::BlockSizeWidth);
// Check that the block wasn't partially defined, and that the offset isn't
@@ -470,7 +470,7 @@ public:
// Block tail:
// [END_BLOCK, <align4bytes>]
- SkipToWord();
+ SkipToFourByteBoundary();
popBlockScope();
return false;