Add and fix some comments.
[libfirm] / ir / be / bedomfront.c
index d5a3abe..dd54d1d 100644 (file)
@@ -40,7 +40,7 @@
 /**
  * The dominance frontier for a graph.
  */
-struct _be_dom_front_info_t {
+struct be_dom_front_info_t {
        pmap *df_map;         /**< A map, mapping every block to a list of its dominance frontier blocks. */
        struct obstack obst;  /**< An obstack holding all the frontier data. */
 };
@@ -133,5 +133,5 @@ void be_free_dominance_frontiers(be_dom_front_info_t *info)
 ir_node **be_get_dominance_frontier(const be_dom_front_info_t *info,
                                     ir_node *block)
 {
-       return pmap_get(info->df_map, block);
+       return (ir_node**)pmap_get(info->df_map, block);
 }