summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beinfo.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-26 22:22:00 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-27 10:16:48 +0100
commit8d40867b11db9064f88bc3fd928e034058873631 (patch)
tree52bf146d712e64b858bd4bcc8f9ebbe575cca954 /ir/be/beinfo.h
parent97bcf6f245eba55a1d3b25a7be543b367ab9c276 (diff)
beinfo: assert() that be_get_info() is not called on Projs.
This also corrects dumping schedule edges.
Diffstat (limited to 'ir/be/beinfo.h')
-rw-r--r--ir/be/beinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ir/be/beinfo.h b/ir/be/beinfo.h
index 3b0e678..15f59cc 100644
--- a/ir/be/beinfo.h
+++ b/ir/be/beinfo.h
@@ -54,6 +54,7 @@ struct backend_info_t {
static inline backend_info_t *be_get_info(const ir_node *node)
{
+ assert(!is_Proj(node));
return (backend_info_t*) node->backend_info;
}