projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove unused support for max_loop_depth
[libfirm]
/
ir
/
ir
/
irnodehashmap.h
diff --git
a/ir/ir/irnodehashmap.h
b/ir/ir/irnodehashmap.h
index
57420ae
..
1660af5
100644
(file)
--- a/
ir/ir/irnodehashmap.h
+++ b/
ir/ir/irnodehashmap.h
@@
-101,6
+101,8
@@
void ir_nodehashmap_remove(ir_nodehashmap_t *nodehashmap, const ir_node *node);
void *ir_nodehashmap_get(const ir_nodehashmap_t *nodehashmap,
const ir_node *node);
+#define ir_nodehashmap_get(type, self, node) ((type*)ir_nodehashmap_get((self), (node)))
+
/**
* Returns the number of pointers contained in the nodehashmap
*