projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add assertions if set_cur_block() is tried for a block on a wrong irg.
[libfirm]
/
ir
/
opt
/
opt_polymorphy.c
diff --git
a/ir/opt/opt_polymorphy.c
b/ir/opt/opt_polymorphy.c
index
cb0b9ee
..
773b89d
100644
(file)
--- a/
ir/opt/opt_polymorphy.c
+++ b/
ir/opt/opt_polymorphy.c
@@
-81,7
+81,7
@@
static ir_type *get_dynamic_type(ir_node *ptr)
/* skip Cast and Confirm nodes */
for (;;) {
-
ir_opcode
code = get_irn_opcode(ptr);
+
unsigned
code = get_irn_opcode(ptr);
switch (code) {
case iro_Cast: