mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-18 20:18:12 +00:00
Small simplification given that insert of an empty range is a nop.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189971 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ca7b43d01d
commit
1d7df349ab
@ -70,8 +70,7 @@ InternalizePass::InternalizePass()
|
||||
initializeInternalizePassPass(*PassRegistry::getPassRegistry());
|
||||
if (!APIFile.empty()) // If a filename is specified, use it.
|
||||
LoadFile(APIFile.c_str());
|
||||
if (!APIList.empty()) // If a list is specified, use it as well.
|
||||
ExternalNames.insert(APIList.begin(), APIList.end());
|
||||
ExternalNames.insert(APIList.begin(), APIList.end());
|
||||
}
|
||||
|
||||
InternalizePass::InternalizePass(ArrayRef<const char *> exportList)
|
||||
|
Loading…
x
Reference in New Issue
Block a user