not traversing controlfow can save us time
This commit is contained in:
parent
49387dbe16
commit
58c1c29293
|
@ -936,6 +936,7 @@ impl Nodes {
|
|||
{ nodes[from].inputs }.iter().any(|&n| {
|
||||
n != Nid::MAX
|
||||
&& nodes.visited.set(n as usize)
|
||||
&& !nodes.is_cfg(n)
|
||||
&& (for_each(n, &nodes[n]) || climb_impl(nodes, n, for_each))
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue