Commits

Slava Pestov committed c2a38c1c848
SILGen: Emit default witness thunks for constructors and methods This patch wires up SILGenDefaultWitnessTable to actually emit thunks and add them to the SILDefaultWitnessTable, using the new logic in Sema for inferring default implementations. Note that default witness thunks are mangled like the protocol requirement itself. After emitting thunks, SILGen populates a SILDefaultWitnessTable for consumption by IRGen. Default witness thunks for properties and subscripts are not supported yet; a bit more refactoring in MaterializeForSet emission is necessary.