mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 02:06:30 +00:00
[lld] Use DenseMap::insert_range (NFC) (#133845)
This commit is contained in:
parent
386aca4a3c
commit
b3c7d59516
@ -1187,8 +1187,7 @@ void TypeMerger::mergeTypesWithGHash() {
|
||||
|
||||
// Build a global map of from function ID to function type.
|
||||
for (TpiSource *source : ctx.tpiSourceList) {
|
||||
for (auto idToType : source->funcIdToType)
|
||||
funcIdToType.insert(idToType);
|
||||
funcIdToType.insert_range(source->funcIdToType);
|
||||
source->funcIdToType.clear();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user