Fix subscripts on rvalues: for now, just materialize the base of the  subscript to an lvalue.
Fix subscripts on rvalues: for now, just materialize the base of the 
subscript to an lvalue.



Swift SVN r11624

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