summaryrefslogtreecommitdiffhomepage
path: root/ir/be/benode.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2016-10-15 15:16:26 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2016-10-15 16:20:55 +0200
commitd43adbf1e7a2300ad85b82a851eba0bbe08fd6f1 (patch)
tree61158cfc8cff11376365d4a95c4848b6ed4195e6 /ir/be/benode.c
parent6f4e50f85fc9457f31625b6d194ca135673cbf20 (diff)
be: Give be_Relocations debug info.
Diffstat (limited to 'ir/be/benode.c')
-rw-r--r--ir/be/benode.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ir/be/benode.c b/ir/be/benode.c
index 87c4229..5a27ce3 100644
--- a/ir/be/benode.c
+++ b/ir/be/benode.c
@@ -449,11 +449,10 @@ ir_node *be_new_Asm(dbg_info *const dbgi, ir_node *const block, int const n_ins,
return asmn;
}
-ir_node *be_new_Relocation(ir_graph *irg, unsigned kind, ir_entity *entity,
- ir_mode *mode)
+ir_node *be_new_Relocation(dbg_info *const dbgi, ir_graph *const irg, unsigned const kind, ir_entity *const entity, ir_mode *const mode)
{
ir_node *const block = get_irg_start_block(irg);
- ir_node *const node = new_ir_node(NULL, irg, block, op_be_Relocation,
+ ir_node *const node = new_ir_node(dbgi, irg, block, op_be_Relocation,
mode, 0, NULL);
be_relocation_attr_t *const attr
= (be_relocation_attr_t*)get_irn_generic_attr(node);