[MIPS] Add curly brackets to improve code readability. NFC.

llvm-svn: 312494
This commit is contained in:
Simon Atanasyan 2017-09-04 16:16:41 +00:00
parent 3d1db3de74
commit 351cf49579
1 changed files with 2 additions and 2 deletions

View File

@ -318,9 +318,9 @@ void MIPS<ELFT>::relocateOne(uint8_t *Loc, uint32_t Type, uint64_t Val) const {
// The R_MIPS_GOT16 relocation's value in "relocatable" linking mode
// is updated addend (not a GOT index). In that case write high 16 bits
// to store a correct addend value.
if (Config->Relocatable)
if (Config->Relocatable) {
writeRelocation<E, 16, 16>(Loc, Val + 0x8000);
else {
} else {
checkInt<16>(Loc, Val, Type);
writeRelocation<E, 16, 0>(Loc, Val);
}