removed the constructor_entities attribute, this is now handled by entity
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 6 Sep 2006 15:01:13 +0000 (15:01 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 6 Sep 2006 15:01:13 +0000 (15:01 +0000)
ir/be/bearch.c
ir/be/bearch.h

index 4f2882c..5ea988d 100644 (file)
@@ -35,7 +35,6 @@ arch_env_t *arch_env_init(arch_env_t *env, const arch_isa_if_t *isa_if, FILE *fi
 {
   memset(env, 0, sizeof(*env));
   env->isa                  = isa_if->init(file_handle);
-  env->constructor_entities = pset_new_ptr(5);
   env->isa->main_env        = main_env;
   return env;
 }
@@ -321,7 +320,3 @@ extern char *arch_register_req_format(char *buf, size_t len, const arch_register
 
        return buf;
 }
-
-int arch_ent_is_constructor(const arch_env_t *arch_env, const entity *ent) {
-       return pset_find_ptr(arch_env->constructor_entities, ent) != NULL;
-}
index 20685c2..a9c13db 100644 (file)
@@ -714,7 +714,6 @@ struct _arch_env_t {
 
   int handlers_tos;                                   /**< The stack pointer of the handler
                                                         stack. */
-  pset *constructor_entities;                     /**< Set holding the entities of the constructor irgs */
 };
 
 /**
@@ -747,13 +746,4 @@ extern arch_env_t *arch_env_push_irn_handler(arch_env_t *env, const arch_irn_han
  */
 extern const arch_irn_handler_t *arch_env_pop_irn_handler(arch_env_t *env);
 
-/**
- * Tells whether function represented by entity should be
- * called in the constructor section.
- * @param arch_env The architecture environment.
- * @param ent The entity representing a function
- * @return 1 if function is a constructor
- */
-extern int arch_ent_is_constructor(const arch_env_t *arch_env, const entity *ent);
-
 #endif /* _FIRM_BEARCH_H */