- fixed access to outer variables
[cparser] / entity_t.h
index ac282ce..e6ad01f 100644 (file)
@@ -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;
@@ -267,6 +266,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 */
@@ -297,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 {