commit | c2e8af9659db7e456b26febb1b971900057ad427 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Tue Apr 05 17:15:19 2016 +0100 |
committer | David Brazdil <dbrazdil@google.com> | Tue Apr 12 15:17:28 2016 +0100 |
tree | af35981588f2995d8bb3a570e2f7244c8c22373a | |
parent | 04c2b2de69460d41e0c39c1f7d9fb77376c3aa8b [diff] |
ART: Speed up HGraph::PopulateIrreducibleRecursive Populating an irreducible loop can potentially traverse all possible paths through the HGraph, leading to an exponential algorithm. This patch adds a bit vector of nodes whose membership in the loop has been decided and need not be revisited again. Bug: 27856014 Change-Id: I3696f08c846e6f40e5de44cb771811bac7e3e08a