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

Rename variables named entc to something more appropriate.

parent bd265fc0
......@@ -193,12 +193,12 @@ static void replace_by_Const(ir_node *const node, long const value)
/**
* Lower an Offset node.
*/
static void lower_offset(ir_node *const entc)
static void lower_offset(ir_node *const offset)
{
/* rewrite the Offset node by a Const node */
ir_entity *const ent = get_Offset_entity(entc);
ir_entity *const ent = get_Offset_entity(offset);
assert(get_type_state(get_entity_type(ent)) == layout_fixed);
replace_by_Const(entc, get_entity_offset(ent));
replace_by_Const(offset, get_entity_offset(ent));
}
/**
......
......@@ -3284,13 +3284,13 @@ static void apply_result(ir_node *irn, void *ctx)
} else if (is_entity(node->type.ent)) {
if (!is_Address(irn)) {
/* can be replaced by an Address */
ir_node *entc = new_r_Address(current_ir_graph, node->type.ent);
set_irn_node(entc, node);
node->node = entc;
ir_node *addr = new_r_Address(current_ir_graph, node->type.ent);
set_irn_node(addr, node);
node->node = addr;
DB((dbg, LEVEL_1, "%+F is replaced by %+F\n", irn, entc));
DBG_OPT_COMBO(irn, entc, FS_OPT_COMBO_CONST);
exchange_leader(irn, entc);
DB((dbg, LEVEL_1, "%+F is replaced by %+F\n", irn, addr));
DBG_OPT_COMBO(irn, addr, FS_OPT_COMBO_CONST);
exchange_leader(irn, addr);
env->modified = 1;
}
} else if (is_Confirm(irn)) {
......
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