projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove pointless local variables.
[libfirm]
/
ir
/
ir
/
irnode.c
diff --git
a/ir/ir/irnode.c
b/ir/ir/irnode.c
index
2491828
..
08acb59
100644
(file)
--- a/
ir/ir/irnode.c
+++ b/
ir/ir/irnode.c
@@
-586,16
+586,6
@@
int (Block_block_visited)(const ir_node *node)
return _Block_block_visited(node);
}
return _Block_block_visited(node);
}
-ir_node *(set_Block_dead)(ir_node *block)
-{
- return _set_Block_dead(block);
-}
-
-int (is_Block_dead)(const ir_node *block)
-{
- return _is_Block_dead(block);
-}
-
ir_extblk *get_Block_extbb(const ir_node *block)
{
ir_extblk *res;
ir_extblk *get_Block_extbb(const ir_node *block)
{
ir_extblk *res;
@@
-1491,6
+1481,11
@@
int is_cfop(const ir_node *node)
return is_op_cfopcode(get_irn_op(node));
}
return is_op_cfopcode(get_irn_op(node));
}
+int is_unknown_jump(const ir_node *node)
+{
+ return is_op_unknown_jump(get_irn_op(node));
+}
+
/* Returns true if the operation can change the control flow because
of an exception. */
int is_fragile_op(const ir_node *node)
/* Returns true if the operation can change the control flow because
of an exception. */
int is_fragile_op(const ir_node *node)
@@
-1631,7
+1626,7
@@
static ir_type *get_Null_type(const ir_node *n)
}
/* Sets the get_type operation for an ir_op_ops. */
}
/* Sets the get_type operation for an ir_op_ops. */
-ir_op_ops *firm_set_default_get_type_attr(
ir_opcode
code, ir_op_ops *ops)
+ir_op_ops *firm_set_default_get_type_attr(
unsigned
code, ir_op_ops *ops)
{
switch (code) {
case iro_SymConst: ops->get_type_attr = get_SymConst_attr_type; break;
{
switch (code) {
case iro_SymConst: ops->get_type_attr = get_SymConst_attr_type; break;
@@
-1656,7
+1651,7
@@
static ir_entity *get_Null_ent(const ir_node *n)
}
/* Sets the get_type operation for an ir_op_ops. */
}
/* Sets the get_type operation for an ir_op_ops. */
-ir_op_ops *firm_set_default_get_entity_attr(
ir_opcode
code, ir_op_ops *ops)
+ir_op_ops *firm_set_default_get_entity_attr(
unsigned
code, ir_op_ops *ops)
{
switch (code) {
case iro_SymConst: ops->get_entity_attr = get_SymConst_attr_entity; break;
{
switch (code) {
case iro_SymConst: ops->get_entity_attr = get_SymConst_attr_entity; break;