Commit 48775522 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

iredges: Remove the unused function get_irn_edge_kind().

parent 6146f6cc
......@@ -168,22 +168,6 @@ void edges_init_graph_kind(ir_graph *irg, ir_edge_kind_t kind)
const ir_edge_t *get_irn_edge_kind(const ir_node *src, int pos, ir_edge_kind_t kind)
ir_graph *irg = get_irn_irg(src);
if (edges_activated_kind(irg, kind)) {
irg_edge_info_t *info = get_irg_edge_info(irg, kind);
ir_edge_t key;
key.src = (ir_node *)src;
key.pos = pos;
return ir_edgeset_find(&info->edges, &key);
return NULL;
* Change the out count
......@@ -166,17 +166,6 @@ 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.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment