do_irg_opt(irg, "control-flow");
}
- /* lower all compound call return values */
- lower_compound_params();
-
/* lower copyb nodes */
for (i = get_irp_n_irgs() - 1; i >= 0; --i) {
ir_graph *irg = get_irp_irg(i);
/** Debug printf implementation. */
extern void dbg_printf(const char *fmt, ...);
-/** Do the necessary lowering for compound parameters. */
-extern void lower_compound_params(void);
-
/** Initialize for the Firm-generating back end. */
void gen_firm_init(void);
temp_files = NULL;
}
-/**
- * Do the necessary lowering for compound parameters.
- */
-void lower_compound_params(void)
-{
- lower_params_t params;
-
- params.def_ptr_alignment = 4;
- params.flags = LF_COMPOUND_RETURN | LF_RETURN_HIDDEN;
- params.hidden_params = ADD_HIDDEN_ALWAYS_IN_FRONT;
- params.find_pointer_type = NULL;
- params.ret_compound_in_regs = NULL;
- lower_calls_with_compounds(¶ms);
-}
-
typedef enum compile_mode_t {
BenchmarkParser,
PreprocessOnly,