Skip to content

Commit 68b327e

Browse files
committed
Address comment
1 parent 0d2f55a commit 68b327e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Bitcode/Reader/BitcodeReader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8035,7 +8035,7 @@ Error ModuleSummaryIndexBitcodeReader::parseEntireSummary(unsigned ID) {
80358035
case bitc::FS_ALLOC_CONTEXT_IDS: {
80368036
// This is an array of 32-bit fixed-width values, holding each 64-bit
80378037
// context id as a pair of adjacent (most significant first) 32-bit words.
8038-
assert(!(Record.size() % 2));
8038+
assert(Record.size() % 2 == 0);
80398039
PendingContextIds.reserve(Record.size() / 2);
80408040
for (auto R = Record.begin(); R != Record.end(); R += 2)
80418041
PendingContextIds.push_back(*R << 32 | *(R + 1));

0 commit comments

Comments
 (0)