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