X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fopt_frame.c;h=7699322c9efdecc5f7a88757dfcd1c3b115cc83e;hb=4d7f507c357a0bdb1433ef3973645ece971e3824;hp=1e6420c60508a5f12c50bfa67ad4145585a3239b;hpb=1a3b7d363474ab544c13093a2f0b578718d37c7a;p=libfirm diff --git a/ir/opt/opt_frame.c b/ir/opt/opt_frame.c index 1e6420c60..7699322c9 100644 --- a/ir/opt/opt_frame.c +++ b/ir/opt/opt_frame.c @@ -49,7 +49,7 @@ void opt_frame_irg(ir_graph *irg) if (n <= 0) return; - irp_reserve_resources(irp, IR_RESOURCE_ENTITY_LINK); + irp_reserve_resources(irp, IRP_RESOURCE_ENTITY_LINK); /* clear all entity links */ for (i = n; i > 0;) { @@ -109,7 +109,7 @@ void opt_frame_irg(ir_graph *irg) /* we changed the frame type, its layout should be redefined */ set_type_state(frame_tp, layout_undefined); } - irp_free_resources(irp, IR_RESOURCE_ENTITY_LINK); + irp_free_resources(irp, IRP_RESOURCE_ENTITY_LINK); } ir_graph_pass_t *opt_frame_irg_pass(const char *name)