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 2cec041 commit d9d977fCopy full SHA for d9d977f
llvm/lib/CodeGenData/OutlinedHashTreeRecord.cpp
@@ -119,8 +119,8 @@ void OutlinedHashTreeRecord::convertToStableData(
119
[&NodeIdMap](const HashNode *Current) {
120
size_t Index = NodeIdMap.size();
121
NodeIdMap[Current] = Index;
122
- assert(Index = NodeIdMap.size() + 1 &&
123
- "Expected size of NodeMap to increment by 1");
+ assert((Index + 1 == NodeIdMap.size()) &&
+ "Duplicate key in NodeIdMap: 'Current' should be unique.");
124
},
125
/*EdgeCallbackFn=*/nullptr, /*SortedWork=*/true);
126
0 commit comments