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
69b99cb1
Commit
69b99cb1
authored
Oct 11, 2008
by
Christoph Mallon
Browse files
Remove the unused function be_RegParams_append_out_reg().
[r22715]
parent
5620b55b
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/benode.c
View file @
69b99cb1
...
...
@@ -762,30 +762,6 @@ ir_node *be_new_RegParams(ir_graph *irg, ir_node *bl, int n_outs)
return
res
;
}
ir_node
*
be_RegParams_append_out_reg
(
ir_node
*
regparams
,
const
arch_env_t
*
arch_env
,
const
arch_register_t
*
reg
)
{
ir_graph
*
irg
=
get_irn_irg
(
regparams
);
ir_node
*
block
=
get_nodes_block
(
regparams
);
be_node_attr_t
*
attr
=
get_irn_attr
(
regparams
);
const
arch_register_class_t
*
cls
=
arch_register_get_class
(
reg
);
ir_mode
*
mode
=
arch_register_class_mode
(
cls
);
int
n
=
ARR_LEN
(
attr
->
reg_data
);
ir_node
*
proj
;
(
void
)
arch_env
;
// TODO remove parameter
assert
(
be_is_RegParams
(
regparams
));
proj
=
new_r_Proj
(
irg
,
block
,
regparams
,
mode
,
n
);
add_register_req
(
regparams
);
be_set_constr_single_reg
(
regparams
,
BE_OUT_POS
(
n
),
reg
);
arch_set_irn_register
(
proj
,
reg
);
/* TODO decide, whether we need to set ignore/modify sp flags here? */
return
proj
;
}
ir_node
*
be_new_FrameAddr
(
const
arch_register_class_t
*
cls_frame
,
ir_graph
*
irg
,
ir_node
*
bl
,
ir_node
*
frame
,
ir_entity
*
ent
)
{
be_frame_attr_t
*
a
;
...
...
ir/be/benode_t.h
View file @
69b99cb1
...
...
@@ -366,15 +366,6 @@ ir_node *be_new_Barrier(ir_graph *irg, ir_node *bl, int n, ir_node *in[]);
*/
ir_node
*
be_Barrier_append_node
(
ir_node
*
barrier
,
ir_node
*
node
);
/**
* Appends a register out requirement to a RegParams node
*
* @returns the proj node for the new register
*/
ir_node
*
be_RegParams_append_out_reg
(
ir_node
*
regparams
,
const
arch_env_t
*
arch_env
,
const
arch_register_t
*
reg
);
/**
* Make a spill node.
*
...
...
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