projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use is_$KIND(n) instead of get_irn_op(n) == op_$KIND.
[libfirm]
/
ir
/
ir
/
iredges_t.h
diff --git
a/ir/ir/iredges_t.h
b/ir/ir/iredges_t.h
index
ae20797
..
b399641
100644
(file)
--- a/
ir/ir/iredges_t.h
+++ b/
ir/ir/iredges_t.h
@@
-22,7
+22,6
@@
* @brief Everlasting outs -- private header.
* @author Sebastian Hack, Andreas Schoesser
* @date 15.01.2005
* @brief Everlasting outs -- private header.
* @author Sebastian Hack, Andreas Schoesser
* @date 15.01.2005
- * @version $Id$
*/
#ifndef FIRM_IR_EDGES_T_H
#define FIRM_IR_EDGES_T_H
*/
#ifndef FIRM_IR_EDGES_T_H
#define FIRM_IR_EDGES_T_H
@@
-104,7
+103,7
@@
static inline const ir_edge_t *get_irn_out_edge_next_(const ir_node *irn, const
{
struct list_head *next = last->list.next;
const struct list_head *head
{
struct list_head *next = last->list.next;
const struct list_head *head
- = &get_irn_edge_info_const(irn, last->kind)->outs_head;
+ = &get_irn_edge_info_const(irn,
(ir_edge_kind_t)
last->kind)->outs_head;
return next == head ? NULL : list_entry(next, ir_edge_t, list);
}
return next == head ? NULL : list_entry(next, ir_edge_t, list);
}
@@
-113,7
+112,7
@@
static inline const ir_edge_t *get_irn_out_edge_next_(const ir_node *irn, const
* @param irn The node.
* @return The number of edges pointing to this node.
*/
* @param irn The node.
* @return The number of edges pointing to this node.
*/
-static inline int get_irn_n_edges_kind_(const ir_node *irn, i
n
t kind)
+static inline int get_irn_n_edges_kind_(const ir_node *irn, i
r_edge_kind_
t kind)
{
return get_irn_edge_info_const(irn, kind)->out_count;
}
{
return get_irn_edge_info_const(irn, kind)->out_count;
}
@@
-135,6
+134,8
@@
static inline void edges_assure_kind_(ir_graph *irg, ir_edge_kind_t kind)
void edges_init_graph_kind(ir_graph *irg, ir_edge_kind_t kind);
void edges_init_graph_kind(ir_graph *irg, ir_edge_kind_t kind);
+void edges_node_deleted(ir_node *irn);
+
/**
* A node might be revivaled by CSE.
*/
/**
* A node might be revivaled by CSE.
*/