Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
48775522
Commit
48775522
authored
Dec 06, 2012
by
Christoph Mallon
Browse files
iredges: Remove the unused function get_irn_edge_kind().
parent
6146f6cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/ir/iredges.c
View file @
48775522
...
...
@@ -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
*
...
...
ir/ir/iredges_t.h
View file @
48775522
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment