#include "../bearch.h"
+#include "bearch_ia32_t.h"
+
typedef struct _emit_env_t {
- firm_dbg_module_t *mod;
- FILE *out;
- const arch_env_t *arch_env;
+ firm_dbg_module_t *mod;
+ FILE *out;
+ const arch_env_t *arch_env;
+ const ia32_code_gen_t *cg;
} emit_env_t;
const lc_arg_env_t *ia32_get_arg_env(void);
void equalize_dest_src(FILE *F, ir_node *n);
-int get_ia32_in_regnr(ir_node *irn, int pos);
+int get_ia32_reg_nr(ir_node *irn, int posi, int in_out);
const char *get_ia32_in_reg_name(ir_node *irn, int pos);
-void ia32_gen_routine(FILE *F, ir_graph *irg, const arch_env_t *env);
+void ia32_gen_routine(FILE *F, ir_graph *irg, const ia32_code_gen_t *cg);
#endif /* _IA32_EMITTER_H_ */