do not use current_ir_graph in irdump.c
[libfirm] / ir / ir / irhooks.c
index ca19af1..b32b91e 100644 (file)
 
 #include "irhooks.h"
 
-/* the hooks */
 hook_entry_t *hooks[hook_last];
 
-/* register a hook */
 void register_hook(hook_type_t hook, hook_entry_t *entry)
 {
   /* check if a hook function is specified. It's a union, so no matter which one */
@@ -45,7 +43,6 @@ void register_hook(hook_type_t hook, hook_entry_t *entry)
   hooks[hook] = entry;
 }
 
-/* unregister a hook */
 void unregister_hook(hook_type_t hook, hook_entry_t *entry)
 {
   hook_entry_t *p;