ia32: Remove the ia32_x87_attr_t from ia32_asm_attr_t.
[libfirm] / ir / ana / cdep.c
index 1b48a8d..4517dff 100644 (file)
@@ -24,7 +24,7 @@
  */
 #include <assert.h>
 #include <stdlib.h>
-#include "irdom.h"
+#include "irdom_t.h"
 #include "irgraph.h"
 #include "irgwalk.h"
 #include "irnode.h"
@@ -52,11 +52,10 @@ ir_cdep *(get_cdep_next)(const ir_cdep *cdep)
        return _get_cdep_next(cdep);
 }
 
-/* Return a list of all control dependences of a block. */
 ir_cdep *find_cdep(const ir_node *block)
 {
        assert(is_Block(block));
-       return (ir_cdep*) pmap_get(cdep_data->cdep_map, block);
+       return pmap_get(ir_cdep, cdep_data->cdep_map, block);
 }
 
 void exchange_cdep(ir_node *old, const ir_node *nw)