Mark a free function as static since it is only used within this file.

Swift SVN r25673
This commit is contained in:
Mark Lacey
2015-03-02 06:08:15 +00:00
parent 4518893a3e
commit 56012f87f6

View File

@@ -407,7 +407,7 @@ static ApplyInst *devirtualizeMethod(ApplyInst *AI, SILDeclRef Member,
/// Generate a new apply of a function_ref to replace an apply of a
/// witness_method when we've determined the actual function we'll end
/// up calling.
ApplyInst *devirtualizeWitness(ApplyInst *AI, SILFunction *F,
static ApplyInst *devirtualizeWitness(ApplyInst *AI, SILFunction *F,
ArrayRef<Substitution> Subs) {
// We know the witness thunk and the corresponding set of substitutions
// required to invoke the protocol method at this point.