We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dad7442 commit e23f475Copy full SHA for e23f475
llvm/lib/CodeGenData/OutlinedHashTreeRecord.cpp
@@ -119,7 +119,7 @@ void OutlinedHashTreeRecord::convertToStableData(
119
[&NodeIdMap](const HashNode *Current) {
120
size_t Index = NodeIdMap.size();
121
NodeIdMap[Current] = Index;
122
- assert(Index = NodeIdMap.size() + 1 &&
+ assert(Index + 1 == NodeIdMap.size() &&
123
"Expected size of NodeMap to increment by 1");
124
},
125
/*EdgeCallbackFn=*/nullptr, /*SortedWork=*/true);
0 commit comments