X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=entity_t.h;h=19db103747ed16c1f276615d3594c6d81096d87d;hb=f4e57c56175e0aaf04c2b97ef53f23eccfe9fad3;hp=69257c6fa535e05457289bb043cd079425a2af9c;hpb=09e9ce6dea8a7ad0f043d59cd7b94f49d9766a19;p=cparser diff --git a/entity_t.h b/entity_t.h index 69257c6..19db103 100644 --- a/entity_t.h +++ b/entity_t.h @@ -91,6 +91,7 @@ typedef enum decl_modifier_t { DM_RETURNS_TWICE = 1 << 25, DM_MALLOC = 1 << 26, DM_WEAK = 1 << 27, + DM_LEAF = 1 << 28, } decl_modifier_t; typedef enum elf_visibility_tag_t { @@ -239,18 +240,6 @@ struct variable_t { } v; }; -struct parameter_t { - declaration_t base; - bool address_taken : 1; - bool read : 1; - - /* ast2firm info */ - union { - unsigned int value_number; - ir_entity *entity; - } v; -}; - struct function_t { declaration_t base; bool is_inline : 1; @@ -285,7 +274,6 @@ union entity_t { typedef_t typedefe; declaration_t declaration; variable_t variable; - parameter_t parameter; function_t function; compound_member_t compound_member; };