From 83e6c267e052f2ca4392e1267f2382baaf7083c5 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Sun, 14 Oct 2012 16:55:12 +0200 Subject: [PATCH] move get_irn_edge_kind to internal API --- include/libfirm/iredges.h | 11 ----------- ir/ir/iredges_t.h | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/libfirm/iredges.h b/include/libfirm/iredges.h index 3603bf723..b1f2c35d9 100644 --- a/include/libfirm/iredges.h +++ b/include/libfirm/iredges.h @@ -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. diff --git a/ir/ir/iredges_t.h b/ir/ir/iredges_t.h index b39964171..ab918dd07 100644 --- a/ir/ir/iredges_t.h +++ b/ir/ir/iredges_t.h @@ -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. -- 2.20.1