Mark a couple of local sil-optimizer functions as static NFC

This commit is contained in:
Ben Langmuir
2016-03-11 13:27:44 -08:00
parent 55519871e0
commit cf4498e6cf
2 changed files with 3 additions and 3 deletions

View File

@@ -686,7 +686,7 @@ using ApplyWitnessPair = std::pair<ApplyInst *, WitnessMethodInst *>;
/// Returns the Apply and WitnessMethod instructions that use the
/// open_existential_addr instructions, or null if at least one of the
/// instructions is missing.
ApplyWitnessPair getOpenExistentialUsers(OpenExistentialAddrInst *OE) {
static ApplyWitnessPair getOpenExistentialUsers(OpenExistentialAddrInst *OE) {
ApplyInst *AI = nullptr;
WitnessMethodInst *WMI = nullptr;
ApplyWitnessPair Empty = std::make_pair(nullptr, nullptr);