diff options
author | Rui Ueyama <ruiu@google.com> | 2017-03-27 03:41:00 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-03-27 03:41:00 +0000 |
commit | ceb5bd59ccba4b3ae9b6ea31fedb5d50435b1a88 (patch) | |
tree | 0601c15efc84941ddc7aa0aa3ebe6c4b3aadba82 /llvm/lib/IR/Module.cpp | |
parent | 74fb7ac2e081e70ddfa2237dd84cefd680573792 (diff) | |
download | llvm-ceb5bd59ccba4b3ae9b6ea31fedb5d50435b1a88.zip llvm-ceb5bd59ccba4b3ae9b6ea31fedb5d50435b1a88.tar.gz llvm-ceb5bd59ccba4b3ae9b6ea31fedb5d50435b1a88.tar.bz2 |
Simplify. NFC.
This patch calls getAddend on a relocation only when the relocation is RELA.
That doesn't really improve runtime performance but should improve
readability as the code now matches the function description.
llvm-svn: 298828
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions