projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66a933d
)
bug fix for deleting irgs
author
Boris Boesler
<boesler@ipd.info.uni-karlsruhe.de>
Tue, 7 Dec 2004 12:15:32 +0000
(12:15 +0000)
committer
Boris Boesler
<boesler@ipd.info.uni-karlsruhe.de>
Tue, 7 Dec 2004 12:15:32 +0000
(12:15 +0000)
[r4584]
ir/tr/entity.c
patch
|
blob
|
history
diff --git
a/ir/tr/entity.c
b/ir/tr/entity.c
index
0eb451c
..
e49e484
100644
(file)
--- a/
ir/tr/entity.c
+++ b/
ir/tr/entity.c
@@
-1148,6
+1148,8
@@
set_entity_irg(entity *ent, ir_graph *irg) {
* inherited um! */
/* assert(irg); */
assert((irg && ent->peculiarity == peculiarity_existent) ||
+ (!irg && (ent->peculiarity == peculiarity_existent)
+ && (ent -> visibility == visibility_external_allocated)) ||
(!irg && ent->peculiarity == peculiarity_description) ||
(!irg && ent->peculiarity == peculiarity_inherited));
ent->irg = irg;