Capture Promotion: have new closures inserted before their original versions

Swift SVN r10554
This commit is contained in:
Stephen Lin
2013-11-19 03:29:00 +00:00
parent cacdcabad1
commit 4ebdf9c80f
4 changed files with 35 additions and 33 deletions

View File

@@ -84,7 +84,8 @@ public:
SILFunction(SILModule &Module, SILLinkage Linkage,
StringRef MangledName, SILType LoweredType,
Optional<SILLocation> Loc = Nothing,
IsTransparent_t isTrans = IsNotTransparent);
IsTransparent_t isTrans = IsNotTransparent,
SILFunction *InsertBefore = nullptr);
~SILFunction();