Commit Graph

152 Commits

Author SHA1 Message Date
Michael Gottesman
0331400f60 [silgen] Store the relevant SILGenFunction instead of the SILGenModule in SILGenBuilder
We already always associate a SILGenBuilder with one function, just like
SILBuilder, so there really is no reason not to store the SILGenFunction. The
reason why I want to do so here though is that I want access to the ManagedValue
APIs on SILGenFunction so I can begin to add Ownership endowed entry points on
SILBuilder that traffic only in ManagedValue instead of SILValue.

rdar://29791263
2017-01-19 13:40:55 -08:00
Michael Gottesman
1dbabed576 [silgen] Extract SILGenBuilder into its own header/cpp file.
NFC.
2017-01-18 16:46:14 -08:00