summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beutil.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2008-10-11 18:31:17 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2008-10-11 18:31:17 +0200
commite927f29463f82213def5fd9086612d71d5a518cb (patch)
treebdd52dd8368b2cb71a7545922b07facd6b868cf2 /ir/be/beutil.c
parent91f9514ac6b3b05fa583796731cad6d3d11368a0 (diff)
Remove the unused parameter const arch_env_t *env from arch_is_register_operand().
[r22688]
Diffstat (limited to 'ir/be/beutil.c')
-rw-r--r--ir/be/beutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/beutil.c b/ir/be/beutil.c
index 8754f4d..53b7287 100644
--- a/ir/be/beutil.c
+++ b/ir/be/beutil.c
@@ -86,7 +86,7 @@ static void dump_allocated_block(ir_node *block, void *data)
if(block != get_irg_start_block(get_irn_irg(block))) {
for(i = 0, n = get_irn_arity(irn); i < n; ++i) {
ir_node *op = get_irn_n(irn, i);
- if(arch_is_register_operand(dump_env->env, op, -1)) {
+ if (arch_is_register_operand(op, -1)) {
ir_fprintf(f, "%s%s", prefix,
arch_register_get_name(arch_get_irn_register(env, op)));
prefix = ", ";