projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4aecc4d
)
- fixed (useless) assertion
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 27 Oct 2008 14:16:10 +0000
(14:16 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 27 Oct 2008 14:16:10 +0000
(14:16 +0000)
[r23229]
ir/ana/irmemory.c
patch
|
blob
|
history
diff --git
a/ir/ana/irmemory.c
b/ir/ana/irmemory.c
index
443a719
..
29da2df
100644
(file)
--- a/
ir/ana/irmemory.c
+++ b/
ir/ana/irmemory.c
@@
-787,7
+787,8
@@
static ir_entity_usage determine_entity_usage(const ir_node *irn, ir_entity *ent
switch (get_irn_opcode(succ)) {
case iro_Load:
- assert(irn == get_Load_ptr(succ));
+ /* beware: irn might be a Id node here */
+ assert(skip_Id(irn) == get_Load_ptr(succ));
res |= ir_usage_read;
/* check if this load is not a hidden conversion */