Skip to content

Commit 0e8ee0e

Browse files
authored
Remove unnecessary static_cast<bool> in AsmPrinter.cpp.
1 parent d52e78e commit 0e8ee0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1438,7 +1438,7 @@ getBBAddrMapFeature(const MachineFunction &MF, int NumMBBSectionRanges,
14381438
BBFreqEnabled,
14391439
BrProbEnabled,
14401440
MF.hasBBSections() && NumMBBSectionRanges > 1,
1441-
static_cast<bool>(BBAddrMapSkipEmitBBEntries),
1441+
BBAddrMapSkipEmitBBEntries,
14421442
HasCalls,
14431443
false};
14441444
}

0 commit comments

Comments
 (0)