X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fopt_frame.c;h=7699322c9efdecc5f7a88757dfcd1c3b115cc83e;hb=762b472fc81c73cf7a1b0041b8cd286b7206d79d;hp=258d4aebb38b943cff69cc5fd5ff82cefff9072a;hpb=9e31d4eab3ffb00fae7791ed224ea27fbca2eade;p=libfirm diff --git a/ir/opt/opt_frame.c b/ir/opt/opt_frame.c index 258d4aebb..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;) { @@ -106,10 +106,10 @@ void opt_frame_irg(ir_graph *irg) list = (ir_entity*)get_entity_link(ent); free_entity(ent); } - /* we changed the frame type, it's layout should be redefined */ + /* 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)