X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firmode_t.h;h=334d12c8a0355542f73cf3933621fdb72300cd8b;hb=5c1ded548038459acf350812d820d8bbd7901ab0;hp=e6844281b5680bb88b0ff411712d484a22359ad4;hpb=1d42e84c329d51db8274fac120db2d8add15849d;p=libfirm diff --git a/ir/ir/irmode_t.h b/ir/ir/irmode_t.h index e6844281b..334d12c8a 100644 --- a/ir/ir/irmode_t.h +++ b/ir/ir/irmode_t.h @@ -42,9 +42,6 @@ _get_modeP_code(void) { return mode_P_code; } static inline ir_mode * _get_modeP_data(void) { return mode_P_data; } -static inline ir_modecode -_get_mode_modecode(const ir_mode *mode) { return mode->code; } - static inline ident * _get_mode_ident(const ir_mode *mode) { return mode->name; } @@ -79,7 +76,7 @@ _get_mode_link(const ir_mode *mode) { return mode->link; } static inline void _set_mode_link(ir_mode *mode, void *l) { mode->link = l; } -/* Functions to check, whether a ir_modecode is signed, float, int, num, data, +/* Functions to check, whether a mode is signed, float, int, num, data, datab or dataM. For more exact definitions read the corresponding pages in the firm documentation or the following enumeration @@ -174,7 +171,6 @@ void finish_mode(void); #define get_modeP_code() _get_modeP_code() #define get_modeP_data() _get_modeP_data() -#define get_mode_modecode(mode) _get_mode_modecode(mode) #define get_mode_ident(mode) _get_mode_ident(mode) #define get_mode_sort(mode) _get_mode_sort(mode) #define get_mode_size_bits(mode) _get_mode_size_bits(mode)