mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Use CHAR_BIT instead of hard-coding 8 in several places where it
is appropriate. This helps visually differentiate host-oriented calculations from target-oriented calculations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68227 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
ef66abeaee
commit
de551f91d8
13 files changed
+32
-22
No files matched your search
@@ -425,7 +425,7 @@ static int AnalyzeBitcode() {
|
||||
|
||||
if (Dump) std::cerr << "\n\n";
|
||||
|
||||
uint64_t BufferSizeBits = Buffer->getBufferSize()*8;
|
||||
uint64_t BufferSizeBits = Buffer->getBufferSize()*CHAR_BIT;
|
||||
// Print a summary of the read file.
|
||||
std::cerr << "Summary of " << InputFilename << ":\n";
|
||||
std::cerr << " Total size: ";
|
||||
|
||||
Reference in new issue
Block a user