Fix test for mutable hoisting.  Unfortunately the placement of the loop BB could be after the return block when printed, so checking for the closing brace after return isn't always going to work
Fix test for mutable hoisting.  Unfortunately the placement of the loop BB could be after the return block when printed, so checking for the closing brace after return isn't always going to work

Swift SVN r20799

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