diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2016-05-06 15:02:45 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2016-05-06 15:02:45 +0000 |
commit | 1a728fdf5c94009005a5330f0aea05a758bbae00 (patch) | |
tree | 8b31436a740a49205d0236e70b24cf7ad72d2b04 /llvm/lib/ExecutionEngine/SectionMemoryManager.cpp | |
parent | 1771948d72916e631d14c17c635a45b0bc9aa76d (diff) | |
download | bcm5719-llvm-1a728fdf5c94009005a5330f0aea05a758bbae00.tar.gz bcm5719-llvm-1a728fdf5c94009005a5330f0aea05a758bbae00.zip |
[ELF][MIPS] Simplify `if` condition. NFC
In case of MIPS ABI relocation has R_GOTREL expression's type iif the
relocation type is either R_MIPS_GPREL16 or R_MIPS_GPREL32. So it is
enough to check expression's type only.
llvm-svn: 268741
Diffstat (limited to 'llvm/lib/ExecutionEngine/SectionMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions