X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fia32%2Fia32_map_regs.h;h=ea2b63086862bffa1d40603ace99050e0cb00735;hb=a1a465eb2b3f54027b29f829423fffd0396937f4;hp=ffdfc528f5e457eb10832cfb8a8e66e3fab715e8;hpb=d55ba6b00d7848a06ecfeceefe071b17bf0e5e98;p=libfirm diff --git a/ir/be/ia32/ia32_map_regs.h b/ir/be/ia32/ia32_map_regs.h index ffdfc528f..ea2b63086 100644 --- a/ir/be/ia32/ia32_map_regs.h +++ b/ir/be/ia32/ia32_map_regs.h @@ -1,3 +1,9 @@ +/** + * General reqister mapping stuff. + * @author Christian Wuerdig + * $Id$ + */ + #ifndef _IA32_MAP_REGS_H_ #define _IA32_MAP_REGS_H_ @@ -45,7 +51,7 @@ void ia32_build_8bit_reg_map(pmap *reg_map); /** * Returns the corresponding mapped name for a register. */ -char *ia32_get_mapped_reg_name(pmap *reg_map, const arch_register_t *reg); +const char *ia32_get_mapped_reg_name(pmap *reg_map, const arch_register_t *reg); /** * Check all parameters and determine the maximum number of parameters @@ -70,10 +76,4 @@ int ia32_get_n_regparam_class(int n, ir_mode **modes, int *n_int, int *n_float); */ const arch_register_t *ia32_get_RegParam_reg(int n, ir_mode **modes, long nr, unsigned cc); -/** - * Translates the projnum into a "real" argument position for register - * requirements dependent on the predecessor. - */ -long ia32_translate_proj_pos(const ir_node *proj); - #endif /* _IA32_MAP_REGS_H_ */