Update ConstraintLocator profiling for witnesses and associated types.
Update ConstraintLocator profiling for witnesses and associated types.

Use an exhaustive switch rather than a cascading "if", so we don't
make similar mistakes in the future.

Swift SVN r25382

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