projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
irop_flag_highlevel flag added to Confirm and Cast
[libfirm]
/
ir
/
ir
/
irhooks.c
diff --git
a/ir/ir/irhooks.c
b/ir/ir/irhooks.c
index
0341f7d
..
3854f00
100644
(file)
--- a/
ir/ir/irhooks.c
+++ b/
ir/ir/irhooks.c
@@
-41,3
+41,8
@@
void register_hook(hook_type_t hook, hook_entry_t *entry) {
void register_hook(hook_type_t hook, hook_entry_t *entry) {}
#endif /* FIRM_ENABLE_HOOKS */
+
+int init_hooks(void)
+{
+ return (int)register_hook;
+}