Skip to content

Commit 6981bdf

Browse files
rlavaeeaokblast
authored andcommitted
Add comment about static_cast requirement.
1 parent 9bd02aa commit 6981bdf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1438,6 +1438,7 @@ getBBAddrMapFeature(const MachineFunction &MF, int NumMBBSectionRanges,
14381438
BBFreqEnabled,
14391439
BrProbEnabled,
14401440
MF.hasBBSections() && NumMBBSectionRanges > 1,
1441+
// Use static_cast to avoid breakage of tests on windows.
14411442
static_cast<bool>(BBAddrMapSkipEmitBBEntries),
14421443
HasCalls,
14431444
false};

0 commit comments

Comments
 (0)