Commit 8f0c4090 authored by Matthias Braun's avatar Matthias Braun
Browse files

remove unused be_get_frame_offset()/be_node_set_frame_entity()

parent 505cf513
......@@ -685,18 +685,6 @@ ir_entity *be_get_frame_entity(const ir_node *irn)
return NULL;
}
int be_get_frame_offset(const ir_node *irn)
{
assert(is_be_node(irn));
if (be_has_frame_entity(irn)) {
const be_frame_attr_t *a = (const be_frame_attr_t*)get_irn_generic_attr_const(irn);
return a->offset;
} else if (be_is_MemPerm(irn)) {
return be_get_MemPerm_offset(irn);
}
return 0;
}
void be_set_MemPerm_in_entity(const ir_node *irn, int n, ir_entity *ent)
{
const be_memperm_attr_t *attr = (const be_memperm_attr_t*)get_irn_generic_attr_const(irn);
......@@ -863,16 +851,6 @@ static ir_entity *be_node_get_frame_entity(const ir_node *irn)
return be_get_frame_entity(irn);
}
void be_node_set_frame_entity(ir_node *irn, ir_entity *ent)
{
be_frame_attr_t *a;
assert(be_has_frame_entity(irn));
a = (be_frame_attr_t*)get_irn_generic_attr(irn);
a->ent = ent;
}
static void be_node_set_frame_offset(ir_node *irn, int offset)
{
if (be_is_MemPerm(irn)) {
......
......@@ -351,13 +351,6 @@ void be_set_CopyKeep_op(ir_node *cpy, ir_node *op);
*/
ir_entity *be_get_frame_entity(const ir_node *irn);
void be_node_set_frame_entity(ir_node *node, ir_entity *entity);
/**
* Returns the frame offset of this node.
*/
int be_get_frame_offset(const ir_node *irn);
void be_set_MemPerm_in_entity(const ir_node *irn, int n, ir_entity* ent);
ir_entity *be_get_MemPerm_in_entity(const ir_node *irn, int n);
......
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