X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=entity_t.h;h=e6ad01f81077c3560e8831ffc8f1c25145725374;hb=e9887d8cbc4d73a9a63cc82dbf20b4bf82ecbd15;hp=3081d77af4053e69017fb8b5be3ba9c6e84c70cc;hpb=912addb873c5f8b193970fe4f0926ff89aec3fc8;p=cparser diff --git a/entity_t.h b/entity_t.h index 3081d77..e6ad01f 100644 --- a/entity_t.h +++ b/entity_t.h @@ -129,7 +129,6 @@ struct compound_t { scope_t members; decl_modifiers_t modifiers; bool complete : 1; - bool has_flexible_member : 1; /* ast2firm info */ ir_type *irtype; @@ -257,10 +256,33 @@ typedef enum builtin_kind_t { bk_gnu_builtin_prefetch, /**< GNU __builtin_prefetch */ bk_gnu_builtin_trap, /**< GNU __builtin_trap */ + bk_ms_rotl, /**< MS _rotl */ + bk_ms_rotr, /**< MS _rotr */ + bk_ms_rotl64, /**< MS _rotl64 */ + bk_ms_rotr64, /**< MS _rotr64 */ + bk_ms_byteswap_ushort, /**< MS _byteswap_ushort */ + bk_ms_byteswap_ulong, /**< MS _byteswap_ulong */ + bk_ms_byteswap_uint64, /**< MS _byteswap_uint64 */ + bk_ms__debugbreak, /**< MS __debugbreak */ bk_ms_ReturnAddress, /**< MS _ReturnAddress */ + bk_ms_AddressOfReturnAddress, /**< MS _AddressOfReturnAddress */ bk_ms__popcount, /**< MS __popcount */ + bk_ms_enable, /**< MS _enable */ + bk_ms_disable, /**< MS _disable */ + bk_ms__inbyte, /**< MS __inbyte */ + bk_ms__inword, /**< MS __inword */ + bk_ms__indword, /**< MS __indword */ + bk_ms__outbyte, /**< MS __outbyte */ + bk_ms__outword, /**< MS __outword */ + bk_ms__outdword, /**< MS __outdword */ bk_ms__ud2, /**< MS __ud2 */ + bk_ms_BitScanForward, /**< MS _BitScanForward */ + bk_ms_BitScanReverse, /**< MS _BitScanReverse */ + bk_ms_InterlockedExchange, /**< MS _InterlockedExchange */ + bk_ms_InterlockedExchange64, /**< MS _InterlockedExchange64 */ + bk_ms__readeflags, /**< MS __readflags */ + bk_ms__writeeflags, /**< MS __writeflags */ } builtin_kind_t; struct function_t { @@ -275,6 +297,8 @@ struct function_t { /* ast2firm info */ ir_entity *entity; + ir_node *static_link; /**< if need_closure is set, the node representing + the static link. */ }; union entity_t {