diff options
author | James Iry <jamesiry@gmail.com> | 2013-01-23 16:01:59 -0800 |
---|---|---|
committer | James Iry <jamesiry@gmail.com> | 2013-01-28 21:47:54 -0800 |
commit | eab288442931f01b5bad2dcfa244a6183db0f4b6 (patch) | |
tree | 0f0d655e29c134f621ff2bc97c2f873c4d215a6a /test/files/run/t3038.scala | |
parent | cc3b9a23ebb453b827197e5ab5cba46a9e770f0c (diff) | |
download | scala-eab288442931f01b5bad2dcfa244a6183db0f4b6.tar.gz scala-eab288442931f01b5bad2dcfa244a6183db0f4b6.tar.bz2 scala-eab288442931f01b5bad2dcfa244a6183db0f4b6.zip |
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.
Diffstat (limited to 'test/files/run/t3038.scala')
0 files changed, 0 insertions, 0 deletions