move get_irn_edge_kind to internal API
authorMatthias Braun <matze@braunis.de>
Sun, 14 Oct 2012 14:55:12 +0000 (16:55 +0200)
committerMatthias Braun <matze@braunis.de>
Wed, 24 Oct 2012 12:04:09 +0000 (14:04 +0200)
include/libfirm/iredges.h
ir/ir/iredges_t.h

index 3603bf7..b1f2c35 100644 (file)
@@ -108,17 +108,6 @@ FIRM_API ir_node *get_edge_src_irn(const ir_edge_t *edge);
  */
 FIRM_API int get_edge_src_pos(const ir_edge_t *edge);
 
-/**
- * Returns the edge object of an outgoing edge at a node.
- * @param  irn  The node at which the edge originates.
- * @param  pos  The position of the edge.
- * @param  kind The kind of the edge.
- * @return      The corresponding edge object or NULL,
- *              if no such edge exists.
- */
-FIRM_API const ir_edge_t *get_irn_edge_kind(const ir_node *irn,
-                                            int pos, ir_edge_kind_t kind);
-
 /**
  * Returns the number of registered out edges for a specific kind.
  * @param irn The node.
index b399641..ab918dd 100644 (file)
@@ -175,6 +175,17 @@ static inline int get_edge_src_pos_(const ir_edge_t *edge)
        return edge->pos;
 }
 
+/**
+ * Returns the edge object of an outgoing edge at a node.
+ * @param  irn  The node at which the edge originates.
+ * @param  pos  The position of the edge.
+ * @param  kind The kind of the edge.
+ * @return      The corresponding edge object or NULL,
+ *              if no such edge exists.
+ */
+FIRM_API const ir_edge_t *get_irn_edge_kind(const ir_node *irn,
+                                            int pos, ir_edge_kind_t kind);
+
 /**
  * Initialize the out edges.
  * This must be called before firm is initialized.