summaryrefslogtreecommitdiffhomepage
path: root/ir/stat
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2014-01-28 14:51:45 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2014-01-28 15:12:57 +0100
commitbd265fc0308e1bea1af233963ab994cd8625c914 (patch)
tree6f7726c1bc1741d556cc1ca88394f6b0ad500b46 /ir/stat
parentb45cfcbd18745b10faf63e5bd6104c09d5a5d057 (diff)
Split TypeConst into Align and Size.
Diffstat (limited to 'ir/stat')
-rw-r--r--ir/stat/firmstat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ir/stat/firmstat.c b/ir/stat/firmstat.c
index 378849e..61ef7e0 100644
--- a/ir/stat/firmstat.c
+++ b/ir/stat/firmstat.c
@@ -1593,9 +1593,10 @@ static bool is_const(ir_node *const node)
{
switch (get_irn_opcode(node)) {
case iro_Address:
+ case iro_Align:
case iro_Const:
case iro_Offset:
- case iro_TypeConst:
+ case iro_Size:
return true;
default:
return false;