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
4a4ed5ab
Commit
4a4ed5ab
authored
Oct 14, 2014
by
Matthias Braun
Browse files
remove unused function is_arg_Proj()
parent
554a4e6c
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/libfirm/irnode.h
View file @
4a4ed5ab
...
...
@@ -410,13 +410,6 @@ FIRM_API void remove_Sync_n(ir_node *n, int i);
/** @} */
/**
* Returns non-zero if a node is a routine parameter.
*
* @param node the Proj node to test
*/
FIRM_API
int
is_arg_Proj
(
const
ir_node
*
node
);
/** @addtogroup ASM
* @{
*/
...
...
ir/ir/irnode.c
View file @
4a4ed5ab
...
...
@@ -736,11 +736,6 @@ void add_Sync_pred(ir_node *node, ir_node *pred)
add_irn_n
(
node
,
pred
);
}
int
(
is_arg_Proj
)(
const
ir_node
*
node
)
{
return
is_arg_Proj_
(
node
);
}
int
is_x_except_Proj
(
const
ir_node
*
node
)
{
if
(
!
is_Proj
(
node
))
...
...
ir/ir/irnode_t.h
View file @
4a4ed5ab
...
...
@@ -78,7 +78,6 @@
#define set_Phi_next(node, phi) set_Phi_next_(node, phi)
#define get_Phi_next(node) get_Phi_next_(node)
#define is_arg_Proj(node) is_arg_Proj_(node)
#define ir_switch_table_get_n_entries(table) ir_switch_table_get_n_entries_(table)
/**
...
...
@@ -484,17 +483,6 @@ static inline void set_Block_mark_(ir_node *block, unsigned mark)
block
->
attr
.
block
.
marked
=
mark
;
}
/** Returns non-zero if a node is a routine parameter. */
static
inline
int
is_arg_Proj_
(
const
ir_node
*
node
)
{
if
(
!
is_Proj
(
node
))
return
0
;
node
=
get_Proj_pred
(
node
);
if
(
!
is_Proj
(
node
))
return
0
;
return
pn_Start_T_args
==
get_Proj_num
(
node
)
&&
is_Start
(
get_Proj_pred
(
node
));
}
static
inline
size_t
ir_switch_table_get_n_entries_
(
const
ir_switch_table
*
table
)
{
return
table
->
n_entries
;
...
...
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