summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bechordal_common.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-07-12 12:57:15 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2012-07-13 23:03:54 +0200
commitcdcd17c48e951c6e0201c58b94aaf52a8769703c (patch)
tree2d7de7bc44fe5830526350eaf9576af08a562905 /ir/be/bechordal_common.c
parentc719c20ba0a93056a054bd07f46de3f3a8838672 (diff)
Add a wrapper macro for pmap_get(), which has the return type as additional parameter.
Diffstat (limited to 'ir/be/bechordal_common.c')
-rw-r--r--ir/be/bechordal_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bechordal_common.c b/ir/be/bechordal_common.c
index 4146e60..fb7f1b0 100644
--- a/ir/be/bechordal_common.c
+++ b/ir/be/bechordal_common.c
@@ -128,7 +128,7 @@ void create_borders(ir_node *block, void *env_ptr)
/* Set up the border list in the block info */
head = OALLOC(env->obst, struct list_head);
INIT_LIST_HEAD(head);
- assert(pmap_get(env->border_heads, block) == NULL);
+ assert(pmap_get(struct list_head, env->border_heads, block) == NULL);
pmap_insert(env->border_heads, block, head);
/*