diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-02-25 19:32:03 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-02-25 19:32:03 +0000 |
commit | 5d0d05c9b8b5faa470b36fc4f8699aa7de4275b4 (patch) | |
tree | 1dd20e7ea9674bb932ea45ec69b2e1a7486e8859 /lib/CodeGen/MachineModuleInfo.cpp | |
parent | c68c2243dcb716bc117f41aa543ca8a41046df41 (diff) |
1. Provide more detail in file comment.
2. Move comments for methods to .h file, delete them in .cpp file.
3. All places that were doing manual clear of high order bits now call the
clearUnusedBits() method in order to not depend on undefined behavior
of the >> operator when the number of bits shifted equals the word size.
4. Reduced # of loc by using the new result of clearUnusedBits() method.
5. Simplified logic (decreased indentation) in a few places.
6. Added code comments to larger functions that needed them.
7. Added FIXME notes about weak implementations of things (e.g. bit-by-bit
shift right is sub-optimal).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34603 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions