X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Fentity.h;h=48e911443c0d53edf44471be3f580430b54bd4b6;hb=aeccc4a872226c8e08e6241bcd56b846e400c52d;hp=45176fb16fd3a017ecc3309b50e5f676c273077f;hpb=8617950507d5cc19c95d53a59e0b1083744d8922;p=libfirm diff --git a/ir/tr/entity.h b/ir/tr/entity.h index 45176fb16..48e911443 100644 --- a/ir/tr/entity.h +++ b/ir/tr/entity.h @@ -157,7 +157,10 @@ void set_entity_offset (entity *ent, int offset); /* Overwrites is a field that specifies that an access to the overwritten entity in the supertype must use this entity. It's a list as with multiple inheritance several enitites can be overwritten. This field - is mostly useful for method entities. */ + is mostly useful for method entities. + If a Sel node selects an entity that is overwritten by other entities it + must return a pointer to the entity of the dynamic type of the pointer + that is passed to it. Lowering of the Sel node must assure this. */ void add_entity_overwrites (entity *ent, entity *overwritten); int get_entity_n_overwrites (entity *ent); entity *get_entity_overwrites (entity *ent, int pos);