fixed svn properties
[libfirm] / include / libfirm / typerep.h
index f4b66a8..daeca89 100644 (file)
@@ -1305,20 +1305,20 @@ typedef enum {
                                  Arrays can be accessed by explicit address
                                  computation.  Enumeration constants must be defined.
                                  Default for pointer, primitive and method types. */
-} type_state;
+} ir_type_state;
 
 /** Returns a human readable string for the enum entry. */
-const char *get_type_state_name(type_state s);
+const char *get_type_state_name(ir_type_state s);
 
 /** Returns the type layout state of a type. */
-type_state  get_type_state(const ir_type *tp);
+ir_type_state  get_type_state(const ir_type *tp);
 
 /** Sets the type layout state of a type.
  *
  * For primitives, pointer and method types the layout is always fixed.
  * This call is legal but has no effect.
  */
-void        set_type_state(ir_type *tp, type_state state);
+void        set_type_state(ir_type *tp, ir_type_state state);
 
 /** Returns the mode of a type.
  *
@@ -1946,6 +1946,8 @@ typedef enum {
                                               function calls (stdcall). */
        cc_this_call        = 0x08000000, /**< The first parameter is a this pointer and is transmitted
                                               in a special way. */
+       cc_compound_ret     = 0x10000000, /**< the method returns a compound
+                                               type */
 
        cc_bits             = (0xFF << 24)  /**< the calling convention bits */
 } calling_convention;
@@ -2611,4 +2613,12 @@ typedef void entity_walk_func(ir_entity *ent, void *env);
  */
 void walk_types_entities(ir_type *tp, entity_walk_func *doit, void *env);
 
+/**
+ * If we have the closed world assumption, we can calculate the
+ * finalization of classes and entities by inspecting the class hierarchy.
+ * After this is done, all classes and entities that are not overridden
+ * anymore have the final property set.
+ */
+void types_calc_finalization(void);
+
 #endif