mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +00:00
Use 8 instead of CHAR_BIT
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68616 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3d0355b825
commit
0648f54b88
@ -80,7 +80,7 @@ public:
|
||||
std::vector<unsigned char> &getBuffer() { return Out; }
|
||||
|
||||
/// \brief Retrieve the current position in the stream, in bits.
|
||||
uint64_t GetCurrentBitNo() const { return Out.size() * CHAR_BIT + CurBit; }
|
||||
uint64_t GetCurrentBitNo() const { return Out.size() * 8 + CurBit; }
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
// Basic Primitives for emitting bits to the stream.
|
||||
|
Loading…
Reference in New Issue
Block a user