mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +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:
@@ -70,8 +70,7 @@ InternalizePass::InternalizePass()
|
|||||||
initializeInternalizePassPass(*PassRegistry::getPassRegistry());
|
initializeInternalizePassPass(*PassRegistry::getPassRegistry());
|
||||||
if (!APIFile.empty()) // If a filename is specified, use it.
|
if (!APIFile.empty()) // If a filename is specified, use it.
|
||||||
LoadFile(APIFile.c_str());
|
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)
|
InternalizePass::InternalizePass(ArrayRef<const char *> exportList)
|
||||||
|
Reference in New Issue
Block a user