add some comment
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 28 Feb 2008 17:28:32 +0000 (17:28 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 28 Feb 2008 17:28:32 +0000 (17:28 +0000)
[r17927]

ir/tr/entity.c

index fcc3660..6e1e7b3 100644 (file)
@@ -255,6 +255,10 @@ static void free_entity_attrs(ir_entity *ent) {
        }
 }  /* free_entity_attrs */
 
+/*
+ * Copies the entity if the new_owner is different from the
+ * owner of the old entity,  else returns the old entity.
+ */
 ir_entity *
 copy_entity_own(ir_entity *old, ir_type *new_owner) {
        ir_entity *newe;