diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-02-25 10:42:47 +0100 |
|---|---|---|
| committer | serpilliere <fabrice.desclaux@cea.fr> | 2015-03-12 21:15:06 +0100 |
| commit | a84279657f4957fc5a7ffb4e5ef0df587984eb8a (patch) | |
| tree | e065487569c504dfe11347519c69c85e3a97bd57 /test/core/graph.py | |
| parent | 1975191b80612098855707f984dba1f712ed02b8 (diff) | |
| download | miasm-a84279657f4957fc5a7ffb4e5ef0df587984eb8a.tar.gz miasm-a84279657f4957fc5a7ffb4e5ef0df587984eb8a.zip | |
Graph: dominators computation can only be done regarding to *one* head
The 'get_all_parents' is replaced by 'reachable_parents'
Diffstat (limited to 'test/core/graph.py')
| -rw-r--r-- | test/core/graph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/graph.py b/test/core/graph.py index eb896cfe..e7078cdb 100644 --- a/test/core/graph.py +++ b/test/core/graph.py @@ -32,7 +32,7 @@ g1.add_edge(5, 2) g1.add_edge(2, 6) -dominators = g1.compute_dominators() +dominators = g1.compute_dominators(1) assert(dominators[1] == set([1])) assert(dominators[2] == set([1, 2])) assert(dominators[3] == set([1, 2, 3])) |