Commits

Slava Pestov committed a64d505a983
SILGen: Fix some problems when generating delegating init calls - If delegating to an initializing constructor for a value type, the ApplyInst takes an @out parameter for Self, instead of returning Self like with references. Fix the def-use traversal to handle that instead of crashing. - When calling an allocating constructor, the formal type is the instance type because Sema constructs the constructor call as if it were an initializing constructor. This causes us to fail to re-abstract a @thin metatype to @thick. Fix this to use the correct metatype type for allocating constructors. Fixes <rdar://problem/20945954>. Swift SVN r29555