Skip to content

Commit

Permalink
Fix assert for [CGData] Outlined Hash Tree llvm#89792
Browse files Browse the repository at this point in the history
  • Loading branch information
kyulee-com committed Jul 10, 2024
1 parent dad7442 commit e23f475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/CodeGenData/OutlinedHashTreeRecord.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void OutlinedHashTreeRecord::convertToStableData(
[&NodeIdMap](const HashNode *Current) {
size_t Index = NodeIdMap.size();
NodeIdMap[Current] = Index;
assert(Index = NodeIdMap.size() + 1 &&
assert(Index + 1 == NodeIdMap.size() &&
"Expected size of NodeMap to increment by 1");
},
/*EdgeCallbackFn=*/nullptr, /*SortedWork=*/true);
Expand Down

0 comments on commit e23f475

Please sign in to comment.