Add an irg attribute the Bad nodes: so get_Block_irg() can operate on
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 25 Jun 2009 22:48:39 +0000 (22:48 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 25 Jun 2009 22:48:39 +0000 (22:48 +0000)
commit3d344e21b632786c6c5ccc6c2bdaee07484a9fb6
tree3e96dece230ac0d115e70e6851b7fdf6a5272b87
parentb2c637a6ab6afb13b8d7f8073116efc5fa507fd7
Add an irg attribute the Bad nodes: so get_Block_irg() can operate on
Bad nodes just like on Block nodes.
This simplifies get_irn_irg() and implements the idea the the irg can
be retrieved from "the block" of a node.

[r26188]
ir/common/irtools.c
ir/ir/ircons.c
ir/ir/irgraph.c
ir/ir/irnode.c
ir/ir/irnode_t.h
ir/ir/irtypes.h
ir/opt/opt_inline.c
scripts/ir_spec.py