summaryrefslogtreecommitdiffhomepage
path: root/ir/be/benode.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2016-03-19 17:28:33 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2016-03-21 13:33:38 +0100
commitacad1b054639456ae36364d9c84827d3d9eef2e5 (patch)
tree4ca101ff29697fb9103564c81d97982a4a8ea377 /ir/be/benode.c
parent8162ac734e468bb977246e76c7b8458f640a7271 (diff)
be: Pass an 'irg' instead of an 'obst' to 'be_create_reg_req()'.
Diffstat (limited to 'ir/be/benode.c')
-rw-r--r--ir/be/benode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/benode.c b/ir/be/benode.c
index b61a103..1dac4cd 100644
--- a/ir/be/benode.c
+++ b/ir/be/benode.c
@@ -517,7 +517,7 @@ ir_node *be_new_Start(ir_graph *const irg, be_start_out const *const outs)
if (outs[i] != BE_START_NO) {
arch_register_t const *const reg = &regs[i];
arch_register_req_t const *const req = outs[i] == BE_START_IGNORE
- ? be_create_reg_req(be_get_be_obst(irg), reg, true)
+ ? be_create_reg_req(irg, reg, true)
: reg->single_req;
arch_set_irn_register_req_out(start, l, req);
arch_set_irn_register_out( start, l, reg);