diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2014-02-26 04:25:04 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2014-02-26 04:25:04 +0000 |
| commit | f11f7a49b9ea1c5be61ad5ddca3eb0d42891f422 (patch) | |
| tree | 37ba1d0399ce1a3ded2cb21391d9b4b5cf6be44b /lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | abd2555e365dc24ce71a1ef1afaf7d687d04a208 (diff) | |
| download | llvm-f11f7a49b9ea1c5be61ad5ddca3eb0d42891f422.tar.gz llvm-f11f7a49b9ea1c5be61ad5ddca3eb0d42891f422.tar.bz2 llvm-f11f7a49b9ea1c5be61ad5ddca3eb0d42891f422.tar.xz | |
[SROA] Use the members for New{Begin,End}Offset in the rewrite helpers
rather than passing them as arguments.
While I generally prefer actual arguments, in this case the readability
loss is substantial. By using members we avoid repeatedly calculating
the offsets, and once we're using members it is useful to ensure that
those names *always* refer to the original-alloca-relative new offset
for a rewritten slice.
No functionality changed. Follow-up refactoring, all toward getting the
address space patch merged.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202228 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
