X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Flibfirm%2Firarch.h;h=a94495bcf0eaafb8bd9e15bcdbab32cdc4579e54;hb=abe1a1208ecb24b75b001bfe98ea0c500407a094;hp=8492b73ea2028aa30836281ba13a188eb5bc487d;hpb=1a3b7d363474ab544c13093a2f0b578718d37c7a;p=libfirm diff --git a/include/libfirm/irarch.h b/include/libfirm/irarch.h index 8492b73ea..a94495bcf 100644 --- a/include/libfirm/irarch.h +++ b/include/libfirm/irarch.h @@ -22,7 +22,6 @@ * @brief Some machine dependent optimizations. * @date 1.10.2004 * @author Sebastian Hack - * @version $Id$ */ #ifndef FIRM_IR_IRARCH_H #define FIRM_IR_IRARCH_H @@ -58,7 +57,7 @@ typedef int (*evaluate_costs_func)(insn_kind kind, const ir_mode *mode, ir_tarva * A parameter structure that drives the machine dependent Firm * optimizations. */ -struct ir_settings_arch_dep_t { +typedef struct ir_settings_arch_dep_t { /* Mul optimization */ unsigned also_use_subs : 1; /**< Use also Subs when resolving Muls to shifts */ unsigned maximum_shifts; /**< The maximum number of shifts that shall be inserted for a mul. */ @@ -72,7 +71,7 @@ struct ir_settings_arch_dep_t { unsigned allow_mulhu : 1; /**< Use the Mulhu operation for division by constant */ unsigned max_bits_for_mulh; /**< Maximum number of bits the Mulh operation can take. Modes with higher amount of bits will use Mulh */ -}; +} ir_settings_arch_dep_t; /** * A factory function, that provides architecture parameters for