SILGen: Map String to NSString in ObjC method thunks.
SILGen: Map String to NSString in ObjC method thunks.

If a method or property on an [objc] class takes String arguments or returns a String result in the Swift world, insert conversions to/from NSString into the ObjC thunk for the method.

Moving the code around in emitObjCThunk here induces a bit of extra retain/release traffic. But the SIL optimizer will take care of that real soon, right?

Swift SVN r5359

glessard/swift,gottesmm/swift,gribozavr/swift,amraboelela/swift,parkera/swift,tardieu/swift,russbishop/swift,parkera/swift,djwbrown/swift,amraboelela/swift,MukeshKumarS/Swift,emilstahl/swift,uasys/swift,khizkhiz/swift,kperryua/swift,benlangmuir/swift,harlanhaskins/swift,kperryua/swift,karwa/swift,devincoughlin/swift,ken0nek/swift,tardieu/swift,bitjammer/swift,swiftix/swift,austinzheng/swift,karwa/swift,cbrentharris/swift,amraboelela/swift,codestergit/swift,arvedviehweger/swift,gregomni/swift,Jnosh/swift,khizkhiz/swift,stephentyrone/swift,roambotics/swift,LeoShimonaka/swift,russbishop/swift,kperryua/swift,tinysun212/swift-windows,MukeshKumarS/Swift,tjw/swift,gregomni/swift,dreamsxin/swift,JGiola/swift,arvedviehweger/swift,practicalswift/swift,atrick/swift,jckarter/swift,russbishop/swift,swiftix/swift,SwiftAndroid/swift,MukeshKumarS/Swift,Ivacker/swift,gmilos/swift,kusl/swift,jckarter/swift,cbrentharris/swift,russbishop/swift,gmilos/swift,hooman/swift,amraboelela/swift,gribozavr/swift,dduan/swift,kusl/swift,parkera/swift,sdulal/swift,return/swift,kusl/swift,adrfer/swift,tjw/swift,arvedviehweger/swift,shajrawi/swift,kusl/swift,shahmishal/swift,ken0nek/swift,apple/swift,kstaring/swift,djwbrown/swift,aschwaighofer/swift,CodaFi/swift,xedin/swift,kusl/swift,emilstahl/swift,Jnosh/swift,bitjammer/swift,parkera/swift,ken0nek/swift,allevato/swift,kusl/swift,therealbnut/swift,dduan/swift,aschwaighofer/swift,sdulal/swift,gmilos/swift,dreamsxin/swift,devincoughlin/swift,xedin/swift,LeoShimonaka/swift,amraboelela/swift,slavapestov/swift,gregomni/swift,mightydeveloper/swift,khizkhiz/swift,ahoppen/swift,kusl/swift,jopamer/swift,karwa/swift,mightydeveloper/swift,sdulal/swift,glessard/swift,KrishMunot/swift,hooman/swift,airspeedswift/swift,gottesmm/swift,frootloops/swift,tardieu/swift,gottesmm/swift,hughbe/swift,sschiau/swift,practicalswift/swift,cbrentharris/swift,benlangmuir/swift,emilstahl/swift,shajrawi/swift,natecook1000/swift,apple/swift,benlangmuir/swift,codestergit/swift,airspeedswift/swift,felix91gr/swift,karwa/swift,shajrawi/swift,frootloops/swift,adrfer/swift,hooman/swift,allevato/swift,jopamer/swift,cbrentharris/swift,roambotics/swift,xedin/swift,djwbrown/swift,Jnosh/swift,jtbandes/swift,atrick/swift,brentdax/swift,xwu/swift,CodaFi/swift,sschiau/swift,swiftix/swift.old,swiftix/swift,zisko/swift,airspeedswift/swift,alblue/swift,milseman/swift,johnno1962d/swift,milseman/swift,huonw/swift,aschwaighofer/swift,lorentey/swift,zisko/swift,adrfer/swift,djwbrown/swift,nathawes/swift,sdulal/swift,cbrentharris/swift,Ivacker/swift,tkremenek/swift,MukeshKumarS/Swift,KrishMunot/swift,jckarter/swift,SwiftAndroid/swift,roambotics/swift,dduan/swift,brentdax/swift,natecook1000/swift,kentya6/swift,modocache/swift,jckarter/swift,stephentyrone/swift,adrfer/swift,jmgc/swift,codestergit/swift,allevato/swift,emilstahl/swift,allevato/swift,gregomni/swift,tinysun212/swift-windows,huonw/swift,adrfer/swift,khizkhiz/swift,karwa/swift,JaSpa/swift,hooman/swift,natecook1000/swift,lorentey/swift,jmgc/swift,gregomni/swift,emilstahl/swift,milseman/swift,gribozavr/swift,alblue/swift,tinysun212/swift-windows,tjw/swift,IngmarStein/swift,roambotics/swift,benlangmuir/swift,hooman/swift,swiftix/swift.old,return/swift,natecook1000/swift,emilstahl/swift,calebd/swift,danielmartin/swift,ben-ng/swift,rudkx/swift,xwu/swift,harlanhaskins/swift,stephentyrone/swift,cbrentharris/swift,mightydeveloper/swift,airspeedswift/swift,SwiftAndroid/swift,kstaring/swift,Jnosh/swift,IngmarStein/swift,manavgabhawala/swift,huonw/swift,calebd/swift,gregomni/swift,ben-ng/swift,jopamer/swift,bitjammer/swift,zisko/swift,apple/swift,brentdax/swift,brentdax/swift,nathawes/swift,lorentey/swift,shajrawi/swift,jtbandes/swift,uasys/swift,dduan/swift,brentdax/swift,milseman/swift,slavapestov/swift,calebd/swift,swiftix/swift.old,jopamer/swift,deyton/swift,Ivacker/swift,stephentyrone/swift,felix91gr/swift,deyton/swift,nathawes/swift,karwa/swift,slavapestov/swift,modocache/swift,devincoughlin/swift,ken0nek/swift,nathawes/swift,slavapestov/swift,hughbe/swift,calebd/swift,shahmishal/swift,deyton/swift,devincoughlin/swift,benlangmuir/swift,lorentey/swift,MukeshKumarS/Swift,parkera/swift,atrick/swift,harlanhaskins/swift,hughbe/swift,tkremenek/swift,huonw/swift,frootloops/swift,ben-ng/swift,kusl/swift,zisko/swift,tkremenek/swift,austinzheng/swift,codestergit/swift,milseman/swift,practicalswift/swift,return/swift,uasys/swift,return/swift,austinzheng/swift,parkera/swift,CodaFi/swift,SwiftAndroid/swift,jmgc/swift,mightydeveloper/swift,devincoughlin/swift,gribozavr/swift,slavapestov/swift,jtbandes/swift,gmilos/swift,gottesmm/swift,kperryua/swift,calebd/swift,xedin/swift,arvedviehweger/swift,gribozavr/swift,brentdax/swift,shajrawi/swift,LeoShimonaka/swift,natecook1000/swift,emilstahl/swift,deyton/swift,danielmartin/swift,kstaring/swift,tardieu/swift,zisko/swift,therealbnut/swift,jtbandes/swift,practicalswift/swift,sschiau/swift,tardieu/swift,LeoShimonaka/swift,rudkx/swift,modocache/swift,JaSpa/swift,karwa/swift,shajrawi/swift,tkremenek/swift,calebd/swift,uasys/swift,sdulal/swift,aschwaighofer/swift,apple/swift,JGiola/swift,swiftix/swift,stephentyrone/swift,ahoppen/swift,manavgabhawala/swift,djwbrown/swift,tjw/swift,ahoppen/swift,frootloops/swift,ben-ng/swift,xedin/swift,JaSpa/swift,atrick/swift,apple/swift,cbrentharris/swift,CodaFi/swift,LeoShimonaka/swift,IngmarStein/swift,alblue/swift,gribozavr/swift,johnno1962d/swift,stephentyrone/swift,devincoughlin/swift,aschwaighofer/swift,gmilos/swift,khizkhiz/swift,aschwaighofer/swift,jtbandes/swift,harlanhaskins/swift,xwu/swift,airspeedswift/swift,nathawes/swift,lorentey/swift,JaSpa/swift,IngmarStein/swift,jopamer/swift,adrfer/swift,KrishMunot/swift,hooman/swift,mightydeveloper/swift,dduan/swift,lorentey/swift,austinzheng/swift,roambotics/swift,kentya6/swift,ahoppen/swift,dduan/swift,manavgabhawala/swift,djwbrown/swift,mightydeveloper/swift,SwiftAndroid/swift,glessard/swift,practicalswift/swift,rudkx/swift,shahmishal/swift,ken0nek/swift,bitjammer/swift,CodaFi/swift,therealbnut/swift,hughbe/swift,xwu/swift,codestergit/swift,felix91gr/swift,frootloops/swift,jckarter/swift,OscarSwanros/swift,JaSpa/swift,jmgc/swift,JGiola/swift,felix91gr/swift,jtbandes/swift,LeoShimonaka/swift,kentya6/swift,gribozavr/swift,shajrawi/swift,karwa/swift,kentya6/swift,rudkx/swift,nathawes/swift,ben-ng/swift,manavgabhawala/swift,gottesmm/swift,kperryua/swift,sschiau/swift,danielmartin/swift,MukeshKumarS/Swift,amraboelela/swift,therealbnut/swift,bitjammer/swift,kstaring/swift,SwiftAndroid/swift,kentya6/swift,benlangmuir/swift,ben-ng/swift,rudkx/swift,tardieu/swift,swiftix/swift,shahmishal/swift,return/swift,gottesmm/swift,allevato/swift,ken0nek/swift,johnno1962d/swift,dduan/swift,felix91gr/swift,harlanhaskins/swift,MukeshKumarS/Swift,slavapestov/swift,rudkx/swift,nathawes/swift,JGiola/swift,harlanhaskins/swift,roambotics/swift,kstaring/swift,lorentey/swift,tardieu/swift,frootloops/swift,cbrentharris/swift,OscarSwanros/swift,harlanhaskins/swift,amraboelela/swift,swiftix/swift.old,therealbnut/swift,gmilos/swift,tkremenek/swift,jckarter/swift,therealbnut/swift,jmgc/swift,tinysun212/swift-windows,kentya6/swift,alblue/swift,OscarSwanros/swift,atrick/swift,sschiau/swift,swiftix/swift.old,bitjammer/swift,CodaFi/swift,sschiau/swift,tjw/swift,stephentyrone/swift,khizkhiz/swift,russbishop/swift,arvedviehweger/swift,swiftix/swift.old,hughbe/swift,airspeedswift/swift,codestergit/swift,shahmishal/swift,felix91gr/swift,SwiftAndroid/swift,codestergit/swift,sschiau/swift,manavgabhawala/swift,glessard/swift,swiftix/swift.old,jmgc/swift,lorentey/swift,therealbnut/swift,OscarSwanros/swift,Ivacker/swift,jtbandes/swift,JGiola/swift,modocache/swift,ahoppen/swift,airspeedswift/swift,jopamer/swift,shahmishal/swift,Ivacker/swift,johnno1962d/swift,milseman/swift,ben-ng/swift,return/swift,OscarSwanros/swift,deyton/swift,tjw/swift,practicalswift/swift,KrishMunot/swift,manavgabhawala/swift,manavgabhawala/swift,modocache/swift,kstaring/swift,glessard/swift,JaSpa/swift,brentdax/swift,xwu/swift,jmgc/swift,parkera/swift,swiftix/swift,uasys/swift,hughbe/swift,JaSpa/swift,uasys/swift,devincoughlin/swift,modocache/swift,sschiau/swift,tkremenek/swift,austinzheng/swift,bitjammer/swift,KrishMunot/swift,KrishMunot/swift,austinzheng/swift,sdulal/swift,slavapestov/swift,Jnosh/swift,arvedviehweger/swift,Jnosh/swift,xedin/swift,danielmartin/swift,LeoShimonaka/swift,djwbrown/swift,shajrawi/swift,IngmarStein/swift,practicalswift/swift,johnno1962d/swift,OscarSwanros/swift,xedin/swift,apple/swift,swiftix/swift,kentya6/swift,return/swift,gottesmm/swift,tinysun212/swift-windows,jopamer/swift,OscarSwanros/swift,shahmishal/swift,kentya6/swift,gmilos/swift,parkera/swift,tkremenek/swift,xwu/swift,russbishop/swift,tinysun212/swift-windows,LeoShimonaka/swift,natecook1000/swift,zisko/swift,huonw/swift,alblue/swift,ahoppen/swift,JGiola/swift,milseman/swift,Jnosh/swift,allevato/swift,tinysun212/swift-windows,russbishop/swift,sdulal/swift,emilstahl/swift,sdulal/swift,danielmartin/swift,adrfer/swift,kperryua/swift,allevato/swift,CodaFi/swift,alblue/swift,gribozavr/swift,shahmishal/swift,Ivacker/swift,xwu/swift,Ivacker/swift,huonw/swift,uasys/swift,calebd/swift,practicalswift/swift,jckarter/swift,johnno1962d/swift,xedin/swift,hooman/swift,alblue/swift,natecook1000/swift,swiftix/swift.old,austinzheng/swift,KrishMunot/swift,johnno1962d/swift,mightydeveloper/swift,IngmarStein/swift,atrick/swift,arvedviehweger/swift,khizkhiz/swift,glessard/swift,frootloops/swift,deyton/swift,IngmarStein/swift,hughbe/swift,aschwaighofer/swift,mightydeveloper/swift,modocache/swift,huonw/swift,Ivacker/swift,felix91gr/swift,danielmartin/swift,devincoughlin/swift,kstaring/swift,danielmartin/swift,kperryua/swift,deyton/swift,tjw/swift,ken0nek/swift,zisko/swift