diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-03-24 23:47:58 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-03-24 23:47:58 +0000 |
commit | 758d1bc919f3f0856df102f6db64ef9b894d4c23 (patch) | |
tree | 547f8a75fabff1305e8775b8d5df4400c54b0a22 /lib/CodeGen/MachineModuleInfo.cpp | |
parent | 5b7e659e220ed01c8d3a7335e2b52ff2f0fb2ef3 (diff) |
Make it illegal to set 0 bits in getHighBitsSet and getLowBitsSet. For that
they should have used the uint64_t constructor. This avoids causing
undefined results via shifts by the word size when the bit width is an
exact multiple of the word size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions