Commit bd3e22c6 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

be: Make be_duplicate_deps() static.

parent b67e624d
......@@ -61,7 +61,10 @@ static inline ir_node *be_get_transformed_node(ir_node *old_node)
return NULL;
}
void be_duplicate_deps(ir_node *old_node, ir_node *new_node)
/**
* Duplicate all dependency edges of a node.
*/
static void be_duplicate_deps(ir_node *old_node, ir_node *new_node)
{
int deps = get_irn_n_deps(old_node);
for (int i = 0; i < deps; ++i) {
......
......@@ -41,11 +41,6 @@ ir_node *be_transform_node(ir_node *node);
*/
ir_node *be_transform_phi(ir_node *node, const arch_register_req_t *req);
/**
* Duplicate all dependency edges of a node.
*/
void be_duplicate_deps(ir_node *old_node, ir_node *new_node);
/**
* Duplicate a node during transformation.
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment