Skip to content

Commit bd7b170

Browse files
authored
[BOLT][NFC] Remove extraneous braces (#88620)
A small cleanup -- no braces needed here.
1 parent 603fa4c commit bd7b170

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

bolt/lib/Rewrite/RewriteInstance.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2861,15 +2861,14 @@ void RewriteInstance::handleRelocation(const SectionRef &RelocatedSection,
28612861
BC->isRISCV())
28622862
ForceRelocation = true;
28632863

2864-
if (IsFromCode) {
2864+
if (IsFromCode)
28652865
ContainingBF->addRelocation(Rel.getOffset(), ReferencedSymbol, RType,
28662866
Addend, ExtractedValue);
2867-
} else if (IsToCode || ForceRelocation) {
2867+
else if (IsToCode || ForceRelocation)
28682868
BC->addRelocation(Rel.getOffset(), ReferencedSymbol, RType, Addend,
28692869
ExtractedValue);
2870-
} else {
2870+
else
28712871
LLVM_DEBUG(dbgs() << "BOLT-DEBUG: ignoring relocation from data to data\n");
2872-
}
28732872
}
28742873

28752874
void RewriteInstance::selectFunctionsToProcess() {

0 commit comments

Comments
 (0)