- node_dump_cb_info_t *info = handle;
- list_del(&info->list);
- xfree(info);
-}
-
-static void dump_node_info_call(FILE *f, const ir_node *n)
-{
- node_dump_cb_info_t *pos;
-
- if(!node_info_callbacks_inited)
- return;
-
- list_for_each_entry(node_dump_cb_info_t, pos, &node_info_callbacks, list) {
- pos->cb(pos->data, f, n);
- }
+ hook_entry_t *info = handle;
+ unregister_hook(hook_node_info, info);
+ xfree(info);