Skip to content

Commit d10f643

Browse files
boomanaiden154Lukacma
authored andcommitted
Revert "Remove unnecessary static_cast<bool> in AsmPrinter.cpp."
This reverts commit 0e8ee0e. This breaks Windows premerge. https://lab.llvm.org/staging/#/builders/21/builds/6831
1 parent 466c719 commit d10f643

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-
BBAddrMapSkipEmitBBEntries,
1441+
static_cast<bool>(BBAddrMapSkipEmitBBEntries),
14421442
HasCalls,
14431443
false};
14441444
}

0 commit comments

Comments
 (0)