for uninitialised local variables.
[r829]
# include "irgraph_t.h"
void
# include "irgraph_t.h"
void
+init_firm (default_initialize_local_variable_func_t *func)
{
/* register the character 'I' as variable for ident outputs. */
xprintf_register ('I', ident_print);
{
/* register the character 'I' as variable for ident outputs. */
xprintf_register ('I', ident_print);
init_mangle ();
/* initalize all op codes an irnode can consist of */
init_op ();
init_mangle ();
/* initalize all op codes an irnode can consist of */
init_op ();
- /* called once for each run of this library, empty right now... @@@!!!
- init_cons (); */
+ /* called once for each run of this library */
+ init_cons (func);
/* Builds a construct allowing to access all information to be constructed
later. */
init_irprog ();
/* Builds a construct allowing to access all information to be constructed
later. */
init_irprog ();
/**
* Initialize the firm library.
/**
* Initialize the firm library.
+ *
+ * @param func This function is called, whenever a local variable is used before definition
+ *
+ * The parameter func may be NULL. In that case, the old FIRM behavior is conserved.
+ *
+ * @see default_initialize_local_variable_func_t
+void init_firm (default_initialize_local_variable_func_t *func);