CaptureInfo no longer needs to be passed by reference

Now that it's only a word in size, it can be passed
by value.
This commit is contained in:
Hamish Knight
2019-10-13 10:59:42 -07:00
parent f5246c41fe
commit 9061d3da71
10 changed files with 21 additions and 22 deletions

View File

@@ -420,7 +420,7 @@ static void emitCaptureArguments(SILGenFunction &SGF,
}
}
void SILGenFunction::emitProlog(const CaptureInfo &captureInfo,
void SILGenFunction::emitProlog(CaptureInfo captureInfo,
ParameterList *paramList,
ParamDecl *selfParam,
DeclContext *DC,