Fix a bug in the code that specializes individual calls. We need to use the worklist because the callee may have calls to specialize.
Fix a bug in the code that specializes individual calls. We need to use the worklist because
the callee may have calls to specialize.

Testcase in the next commit (together with the devirtualizer functionality).

Swift SVN r25575

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