[SILGen] Separate the initialization of a wrapped property from a wrapped value

Teach SILGen to emit a separate SIL function to capture the
initialization of the backing storage type for a wrapped property
based on the wrapped value. This eliminates manual code expansion at
every use site.
This commit is contained in:
Doug Gregor
2019-09-20 09:52:39 -07:00
parent 3e48f71b27
commit ab5d161c05
26 changed files with 228 additions and 50 deletions

View File

@@ -547,4 +547,3 @@ uint16_t SILGenFunction::emitProlog(ParameterList *paramList,
return ArgNo;
}