Skip to content

Commit d593d58

Browse files
maksfbHoney Goyal
authored andcommitted
[BOLT] Minor code refactoring. NFC (llvm#170746)
1 parent 59216f2 commit d593d58

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bolt/lib/Core/BinaryFunction.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,9 +1408,7 @@ Error BinaryFunction::disassemble() {
14081408
// A recursive call. Calls to internal blocks are handled by
14091409
// ValidateInternalCalls pass.
14101410
TargetSymbol = getSymbol();
1411-
}
1412-
1413-
if (!TargetSymbol) {
1411+
} else {
14141412
// Create either local label or external symbol.
14151413
if (containsAddress(TargetAddress)) {
14161414
TargetSymbol = getOrCreateLocalLabel(TargetAddress);

0 commit comments

Comments
 (0)