SILGen: Fix type of global variable accessors. Emit global accessors as type '() -> [byref] T' instead of '() -> [byref(heap)] T' so that the SIL verifier doesn't stumble on unequal LValueTypes.
SILGen: Fix type of global variable accessors.
Emit global accessors as type '() -> [byref] T' instead of '() -> [byref(heap)] T' so that the SIL verifier doesn't stumble on unequal LValueTypes.

Swift SVN r3561

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