summaryrefslogtreecommitdiff
path: root/test/files/run/t5313.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-5313 Test clobbers on the back edge of a loopJames Iry2013-02-021-2/+8
| | | | | | I realized I was missing a test case for a local store early in a loop that was unused but turned out to be a clobber of a store later in the loop.
* SI-5313 Eliminate more stores by replacing clobbers with null storesJames Iry2013-01-301-1/+7
| | | | | | When an unused store clobbers a previous store, replace it with storing a null. Don't mark clobbers as "used" so that the original clobber and all following clobbers can still be eliminated.
* SI-5313 Do not eliminate stores that potentially wipe referenesJames Iry2013-01-281-0/+42
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.