From fbbb55c1f112790feb394560fa936d23760320ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Wed, 12 Jul 2000 11:29:08 +0000 Subject: [PATCH] *** empty log message *** [r45] --- ir/ir/irgraph.c | 2 +- ir/tr/entity.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ir/ir/irgraph.c b/ir/ir/irgraph.c index 9322499d9..9c70e9c3d 100644 --- a/ir/ir/irgraph.c +++ b/ir/ir/irgraph.c @@ -55,7 +55,7 @@ new_ir_graph (entity *ent, int params) /** Type inforamtion for the procedure of the graph **/ res->ent = ent; - ent->irg = res; + /* ent->irg = res; */ /** Nodes needed in every graph **/ res->end_block = new_Block (); diff --git a/ir/tr/entity.h b/ir/tr/entity.h index 54d9824f6..41fcc9007 100644 --- a/ir/tr/entity.h +++ b/ir/tr/entity.h @@ -33,8 +33,8 @@ typedef struct entity { type *type; /* The type of this entity, e.g., a method type, a basic type of the language or a class itself */ type *owner; /* The class this entity belongs to */ - /* for methods */ - ir_graph *irg; /* If (type == method_type) this is the corresponding irg. + /* for methods * + ir_graph *irg; * If (type == method_type) this is the corresponding irg. The ir_graph constructor automatically sets this field. @@@ Does this go here, or should it be in type_mehtod, or should Call have an attribute ent?? */ -- 2.20.1