mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
[MetadataLoader] Remove unused Vector. NFCI.
llvm-svn: 303196
This commit is contained in:
parent
03c513ec21
commit
9990f83029
@ -500,7 +500,7 @@ class MetadataLoader::MetadataLoaderImpl {
|
||||
|
||||
// Upgrade variables attached to globals.
|
||||
for (auto &GV : TheModule.globals()) {
|
||||
SmallVector<MDNode *, 1> MDs, NewMDs;
|
||||
SmallVector<MDNode *, 1> MDs;
|
||||
GV.getMetadata(LLVMContext::MD_dbg, MDs);
|
||||
GV.eraseMetadata(LLVMContext::MD_dbg);
|
||||
for (auto *MD : MDs)
|
||||
|
Loading…
Reference in New Issue
Block a user