Пример #1
0
static bool constant_on_correct_irg(ir_node *n)
{
	myenv env;
	env.fine = true;
	env.irg  = get_const_code_irg();

	irg_walk(n, on_irg_storage, NULL, (void *)&env);
	return env.fine;
}
Пример #2
0
void irg_walk_graph(ir_graph *irg, irg_walk_func *pre, irg_walk_func *post,
                    void *env)
{
	irg_walk(get_irg_end(irg), pre, post, env);
}