summaryrefslogtreecommitdiff
path: root/test/files/neg/t6446-missing.check
Commit message (Collapse)AuthorAgeFilesLines
* Analyze constants to remove unnecessary branchesJames Iry2013-03-071-3/+4
| | | | | | | | | | | | | | This commit adds analysis and optimization of constants to remove unnecessary branches. It uses abstract interpretation to determine what constant(s) a particular stack slot or variable might or might not hold at a given spot and uses that knowledge to eliminate branches that cannot be taken. Its primary goal is null check removal, but it also works for other constants. Several tests are modified to include the new optimization phase. Two new tests are added. One verifies that branching still works as expected. The other verifies that branches are removed.
* PluginComponent contributes description to -Xshow-phases.Som Snytt2012-12-181-0/+31
In Global, SubComponent is called a phase descriptor, but it doesn't actually have a description. (Phase itself does.) This fix adds a description to PluginComponent so that plugins can describe what they do in -Xshow-phases. Elliptical descriptions Exploded archives Plugged-in partest Roundup at the Little h!