mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user