[+0-all-args] Scope curry thunk emission.
[+0-all-args] Scope curry thunk emission.

Otherwise when we have to copy an @in_guaranteed argument to pass into a
partial_apply, the alloc_stack associated with the copy is never cleaned up.
=><=.

AFAIKT this can not happen with the +1 runtime.

rdar://34222540

CodaFi/swift,sschiau/swift,xedin/swift,jckarter/swift,devincoughlin/swift,sschiau/swift,jopamer/swift,nathawes/swift,jopamer/swift,gribozavr/swift,jmgc/swift,atrick/swift,shajrawi/swift,JGiola/swift,amraboelela/swift,sschiau/swift,gribozavr/swift,tjw/swift,JGiola/swift,shahmishal/swift,devincoughlin/swift,devincoughlin/swift,tkremenek/swift,alblue/swift,amraboelela/swift,roambotics/swift,tkremenek/swift,CodaFi/swift,gribozavr/swift,allevato/swift,shahmishal/swift,hooman/swift,tkremenek/swift,shahmishal/swift,danielmartin/swift,karwa/swift,glessard/swift,gregomni/swift,brentdax/swift,glessard/swift,jckarter/swift,lorentey/swift,harlanhaskins/swift,JGiola/swift,allevato/swift,danielmartin/swift,CodaFi/swift,alblue/swift,jopamer/swift,atrick/swift,hooman/swift,JGiola/swift,practicalswift/swift,natecook1000/swift,allevato/swift,aschwaighofer/swift,xwu/swift,practicalswift/swift,apple/swift,apple/swift,jmgc/swift,rudkx/swift,devincoughlin/swift,xedin/swift,ahoppen/swift,amraboelela/swift,airspeedswift/swift,lorentey/swift,roambotics/swift,tkremenek/swift,nathawes/swift,atrick/swift,ahoppen/swift,gribozavr/swift,danielmartin/swift,apple/swift,xwu/swift,CodaFi/swift,practicalswift/swift,hooman/swift,xwu/swift,parkera/swift,harlanhaskins/swift,huonw/swift,karwa/swift,jmgc/swift,harlanhaskins/swift,alblue/swift,xedin/swift,roambotics/swift,brentdax/swift,airspeedswift/swift,parkera/swift,karwa/swift,shahmishal/swift,huonw/swift,gregomni/swift,gregomni/swift,hooman/swift,austinzheng/swift,airspeedswift/swift,gribozavr/swift,karwa/swift,ahoppen/swift,atrick/swift,aschwaighofer/swift,gribozavr/swift,CodaFi/swift,stephentyrone/swift,jopamer/swift,aschwaighofer/swift,benlangmuir/swift,xedin/swift,tjw/swift,sschiau/swift,benlangmuir/swift,devincoughlin/swift,jmgc/swift,karwa/swift,rudkx/swift,glessard/swift,hooman/swift,gribozavr/swift,shahmishal/swift,stephentyrone/swift,shajrawi/swift,ahoppen/swift,austinzheng/swift,rudkx/swift,JGiola/swift,brentdax/swift,shahmishal/swift,brentdax/swift,aschwaighofer/swift,harlanhaskins/swift,alblue/swift,danielmartin/swift,danielmartin/swift,apple/swift,parkera/swift,karwa/swift,CodaFi/swift,airspeedswift/swift,lorentey/swift,gregomni/swift,alblue/swift,practicalswift/swift,lorentey/swift,roambotics/swift,lorentey/swift,natecook1000/swift,lorentey/swift,natecook1000/swift,airspeedswift/swift,allevato/swift,nathawes/swift,allevato/swift,huonw/swift,huonw/swift,xwu/swift,nathawes/swift,rudkx/swift,shahmishal/swift,shahmishal/swift,austinzheng/swift,xwu/swift,glessard/swift,shajrawi/swift,xwu/swift,apple/swift,devincoughlin/swift,hooman/swift,lorentey/swift,allevato/swift,harlanhaskins/swift,jmgc/swift,sschiau/swift,natecook1000/swift,xedin/swift,huonw/swift,shajrawi/swift,jopamer/swift,jckarter/swift,gribozavr/swift,benlangmuir/swift,jopamer/swift,tkremenek/swift,huonw/swift,parkera/swift,rudkx/swift,jmgc/swift,roambotics/swift,xedin/swift,parkera/swift,xedin/swift,natecook1000/swift,atrick/swift,ahoppen/swift,danielmartin/swift,stephentyrone/swift,tjw/swift,lorentey/swift,apple/swift,jmgc/swift,benlangmuir/swift,harlanhaskins/swift,nathawes/swift,stephentyrone/swift,karwa/swift,austinzheng/swift,glessard/swift,practicalswift/swift,tjw/swift,hooman/swift,natecook1000/swift,roambotics/swift,devincoughlin/swift,stephentyrone/swift,allevato/swift,sschiau/swift,jckarter/swift,tjw/swift,airspeedswift/swift,nathawes/swift,stephentyrone/swift,shajrawi/swift,austinzheng/swift,jopamer/swift,nathawes/swift,tkremenek/swift,devincoughlin/swift,practicalswift/swift,brentdax/swift,stephentyrone/swift,CodaFi/swift,gregomni/swift,natecook1000/swift,tjw/swift,sschiau/swift,parkera/swift,practicalswift/swift,xwu/swift,aschwaighofer/swift,aschwaighofer/swift,ahoppen/swift,gregomni/swift,aschwaighofer/swift,jckarter/swift,atrick/swift,austinzheng/swift,JGiola/swift,benlangmuir/swift,sschiau/swift,xedin/swift,amraboelela/swift,alblue/swift,amraboelela/swift,karwa/swift,austinzheng/swift,alblue/swift,jckarter/swift,brentdax/swift,practicalswift/swift,jckarter/swift,brentdax/swift,amraboelela/swift,danielmartin/swift,shajrawi/swift,airspeedswift/swift,huonw/swift,parkera/swift,shajrawi/swift,glessard/swift,tjw/swift,benlangmuir/swift,rudkx/swift,tkremenek/swift,harlanhaskins/swift,parkera/swift,shajrawi/swift,amraboelela/swift