X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeifg.c;h=76ca11cc3da397437cc22da555533c29376da781;hb=17e47394fa72025d14172a2acef2d258a067aa42;hp=4e569abae304afe6e7fc07aa7353ff438b76c076;hpb=2822b67ee0e55acbdc420a9dc9a29d7e2b3f4723;p=libfirm diff --git a/ir/be/beifg.c b/ir/be/beifg.c index 4e569abae..76ca11cc3 100644 --- a/ir/be/beifg.c +++ b/ir/be/beifg.c @@ -25,6 +25,18 @@ #include "irprintf.h" #include "beifg_t.h" +size_t (be_ifg_nodes_iter_size)(const void *self) +{ + const be_ifg_t *ifg = self; + return ifg->impl->nodes_iter_size; +} + +size_t (be_ifg_neighbours_iter_size)(const void *self) +{ + const be_ifg_t *ifg = self; + return ifg->impl->neighbours_iter_size; +} + void (be_ifg_free)(void *self) { be_ifg_t *ifg = self; @@ -108,7 +120,7 @@ int be_ifg_is_simplicial(const be_ifg_t *ifg, const ir_node *irn) void be_ifg_check(const be_ifg_t *ifg) { - void *iter1 = be_ifg_neighbours_iter_alloca(ifg); + void *iter1 = be_ifg_nodes_iter_alloca(ifg); void *iter2 = be_ifg_neighbours_iter_alloca(ifg); ir_node *n, *m;