Commit 643c741c authored by Matthias Braun's avatar Matthias Braun
Browse files

remove pointless irp_finalize_cons()

parent 736acba4
......@@ -674,12 +674,6 @@ FIRM_API void keep_alive(ir_node *ka);
/** Puts the graph into state "phase_high" */
FIRM_API void irg_finalize_cons(ir_graph *irg);
/** Puts the program and all graphs into state phase_high.
*
* This also remarks, the construction of types is finished,
* e.g., that no more subtypes will be added. */
FIRM_API void irp_finalize_cons(void);
/**
* If firm is built in debug mode, verify that a newly created node is fine.
* The normal node constructors already call this function, you only need to
......
......@@ -567,13 +567,6 @@ void irg_finalize_cons(ir_graph *irg)
clear_irg_constraints(irg, IR_GRAPH_CONSTRAINT_CONSTRUCTION);
}
void irp_finalize_cons(void)
{
foreach_irp_irg(i, irg) {
irg_finalize_cons(irg);
}
}
ir_node *new_Const_long(ir_mode *mode, long value)
{
return new_d_Const_long(NULL, mode, value);
......
......@@ -2335,8 +2335,6 @@ int ir_import_file(FILE *input, const char *inputname)
del_set(env->idset);
irp_finalize_cons();
set_optimize(oldoptimize);
obstack_free(&env->preds_obst, NULL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment