Use CHAR_BIT instead of hard-coding 8 in several places where it
authorDan Gohman <gohman@apple.com>
Wed, 1 Apr 2009 18:45:54 +0000 (18:45 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 1 Apr 2009 18:45:54 +0000 (18:45 +0000)
commitde551f91d8816632a76a065084caab9fab6aacff
treefaf864647d57a6d0f3e6e16f199b0559be489e5f
parentef66abeaeef425927821ddc331d5c14138efe258
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
13 files changed:
include/llvm/ADT/APInt.h
include/llvm/ADT/BitVector.h
include/llvm/ADT/SparseBitVector.h
include/llvm/Bitcode/BitstreamReader.h
include/llvm/CodeGen/LiveInterval.h
include/llvm/CodeGen/MachineConstantPool.h
include/llvm/CodeGen/SelectionDAGNodes.h
include/llvm/Support/CommandLine.h
lib/ExecutionEngine/Interpreter/Execution.cpp
lib/ExecutionEngine/JIT/JITMemoryManager.cpp
lib/Support/APInt.cpp
lib/Target/CellSPU/SPUISelLowering.cpp
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp