X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=entity_t.h;h=b61be49b66938b68b3088d96d45de9af54c369a6;hb=4633763eb3f6ebdc9b39a2c5a9d5a17a8ecab502;hp=66fc0cfe54c094dd51d2a728d47c58177b1cb54e;hpb=d5d44ec69c66d1b6e6616f7de0fd248c4f6eb01d;p=cparser diff --git a/entity_t.h b/entity_t.h index 66fc0cf..b61be49 100644 --- a/entity_t.h +++ b/entity_t.h @@ -45,9 +45,7 @@ typedef unsigned char entity_kind_t; typedef enum namespace_tag_t { NAMESPACE_INVALID, NAMESPACE_NORMAL, - NAMESPACE_STRUCT, - NAMESPACE_UNION, - NAMESPACE_ENUM, + NAMESPACE_TAG, NAMESPACE_LABEL } namespace_tag_t; typedef unsigned char entity_namespace_t; @@ -266,6 +264,7 @@ typedef enum builtin_kind_t { 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 */ @@ -296,6 +295,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 {