Commits

Joe Groff committed ac2d549b08d
IRGen: Forward wtables from alloc to init ctor. We can't naively assume that the allocating constructor's metatype is the very last argument. If there are protocol constraints on the class's generic parameters, those witness tables will get passed in afterward. Add some hacky logic to emitClassAllocatingConstructor to gather witness tables and forward them to the initializing constructor. The added test cases are broken because of <rdar://problem/12965934>. Swift SVN r3906