21034c0d65
order. Since the dominance tree has changed when I fiddled with the graph, I need to recompute it, so factor it out of the SSA pass. Code is uglier than I'd like but at least the RET statement goes last in the generated code now.
14 lines
244 B
C
14 lines
244 B
C
#ifndef DOMINANCE_H
|
|
#define DOMINANCE_H
|
|
|
|
extern struct array postorder;
|
|
extern struct array preorder;
|
|
extern struct pmap dominators;
|
|
|
|
extern void calculate_dominance_graph(struct procedure* proc);
|
|
|
|
#endif
|
|
|
|
/* vim: set sw=4 ts=4 expandtab : */
|
|
|