X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Ffirm_types.h;h=3a356af06eeaaa167f9452c602a6eaaef3d5ea21;hb=95439e41faebfaeca2bf517718932e47dd8aaa7c;hp=5649eeb5031bc931b26d61d91527ab17af18f60c;hpb=566be3ad2c354425664c7b637aa09e7143bfea1c;p=libfirm diff --git a/include/libfirm/firm_types.h b/include/libfirm/firm_types.h index 5649eeb50..3a356af06 100644 --- a/include/libfirm/firm_types.h +++ b/include/libfirm/firm_types.h @@ -21,7 +21,6 @@ * @file * @brief Definition of opaque firm types * @author Michael Beck - * @version $Id$ */ #ifndef FIRM_COMMON_FIRM_TYPES_H #define FIRM_COMMON_FIRM_TYPES_H @@ -64,6 +63,13 @@ typedef union ir_initializer_t ir_initializer_t, *ir_initializer_ptr; typedef void irg_walk_func(ir_node *, void *); typedef void irg_reg_walk_func(ir_region *, void *); +/** + * A switch table mapping integer numbers to proj-numbers of a Switch-node. + * Entries map a continuous range of integer numbers to a proj-number. + * There must never be two different entries matching the same integer number. + */ +typedef struct ir_switch_table ir_switch_table; + /* Needed for MSVC to suppress warnings because it doest NOT handle const right. */ typedef const ir_node *ir_node_cnst_ptr; @@ -214,8 +220,6 @@ ENUM_BITSET(mtp_additional_properties) * SymConst. The content of the attribute symconst_symbol depends on this tag. * Use the proper access routine after testing this flag. */ typedef enum symconst_kind { - symconst_type_tag, /**< The SymConst is a type tag for the given type. - symconst_symbol is type *. */ symconst_type_size, /**< The SymConst is the size of the given type. symconst_symbol is type *. */ symconst_type_align, /**< The SymConst is the alignment of the given type.