scala/scala — pull request #2001 by JamesIry (2013-01-28 23:59:39+00:00)
Title: SI-5313 Do not eliminate stores that potentially wipe referenes

Storing to local variables of reference or array type is indirectly
observable because it potentially allows gc to collect an object. So
this commit makes DeadCodeElimination mark a store necessary if it
assigns to a local that potentially stored by a previous necessary store.

review @paulp, @magarciaEPFL