Mercurial > hg > truffle
view visualizer/Graal/src/com/sun/hotspot/igv/graal/filters/beginend.filter @ 5425:0364a2a874b8
changes towards a canonical representation of comparisons:
* new createNullCheckGuard helper method on CiLoweringTool
* replaced NullCheckNode with IsNullNode
* GuardNode and FixedGuardNode can be negated
* keep a list of conditions that are true/false in CheckCastEliminationPhase
* FixedGuardNode has only one condition
* GraphBuilderPhase creates canonical CompareNodes
* BooleanNodes can negate their usages
* added junit test for canonicalized compares
* removed junit test for negated instanceof
* added more thorough graph comparison for junit tests
* CheckCastEliminationPhase keeps track of conditions that are known to be true/false
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Tue, 22 May 2012 16:19:02 +0200 |
parents | 015fb895586b |
children |
line wrap: on
line source
var f = new CombineFilter("Combine Filter"); f.addRule(new CombineFilter.CombineRule(new Properties.RegexpPropertyMatcher("class", ".*"), new Properties.RegexpPropertyMatcher("class", "BeginNode"), false, "shortName")); f.addRule(new CombineFilter.CombineRule(new Properties.RegexpPropertyMatcher("class", "EndNode"), new Properties.RegexpPropertyMatcher("class", ".*"), true, "shortName")); f.apply(graph);