remove now unused get_irn_outs_computed()
authorMatthias Braun <matthias.braun@kit.edu>
Tue, 28 Aug 2012 12:44:52 +0000 (14:44 +0200)
committerMatthias Braun <matthias.braun@kit.edu>
Tue, 28 Aug 2012 19:02:45 +0000 (21:02 +0200)
include/libfirm/irouts.h
ir/ana/irouts.c

index 73caa9d..de1ac4d 100644 (file)
@@ -86,13 +86,6 @@ FIRM_API void irg_out_walk(ir_node *node, irg_walk_func *pre,
 FIRM_API void irg_out_block_walk(ir_node *node, irg_walk_func *pre,
                                  irg_walk_func *post, void *env);
 
-/**
- * Returns 1 if outs have been computed for a node, 0 otherwise.
- *
- * this is useful to detect newly created nodes that have no outs set yet
- */
-FIRM_API int get_irn_outs_computed(const ir_node *node);
-
 /**
  * Computes the out edges.  Sets a flag in irg to "outs_consistent".  If the
  * graph is changed this flag must be set to "outs_inconsistent".  Computes
index 06d9029..00d1f0c 100644 (file)
 #include "error.h"
 #include "ircons.h"
 
-int get_irn_outs_computed(const ir_node *node)
-{
-       return node->out != NULL;
-}
-
 int get_irn_n_outs(const ir_node *node)
 {
        assert(node->kind == k_ir_node);