view visualizer/Graal/src/com/sun/hotspot/igv/graal/filters/beginend.filter @ 11194:14d5ff4683e0

Truffle-DSL: Fixed an exception if accidently the node class itself is parsed.
author Christian Humer <christian.humer@gmail.com>
date Thu, 01 Aug 2013 20:53:05 +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);