If the DFG sees that an inlined function will result in an OSR exit every time, it will treat all downstream blocks as dead. However, it still needs to keep locals that are alive in the bytecode alive for the compiled function so that those locals are properly written to the stack by the OSR exit ramp. The existing code neglected to do this. Will fix.
Created attachment 285770 [details]
Comment on attachment 285770 [details]
Thanks for the review. Landed in r204360: <http://trac.webkit.org/r204360>.