summaryrefslogtreecommitdiffhomepage
path: root/ir/stat
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2014-03-03 23:55:16 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2014-03-04 08:14:56 +0100
commit0296b9e0244da160c0a28a56a8b9533a285fb593 (patch)
tree3ae0e4da1d95d8874db50a9994b9ec443871f320 /ir/stat
parentedeb0f944eba98d0397c278c20d5825c5eed453f (diff)
irhooks: Remove the parameter ir_graph* from hook_new_node.
It is unused and anyway redundant due to the given ir_node*.
Diffstat (limited to 'ir/stat')
-rw-r--r--ir/stat/firmstat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ir/stat/firmstat.c b/ir/stat/firmstat.c
index d04617b..91334cd 100644
--- a/ir/stat/firmstat.c
+++ b/ir/stat/firmstat.c
@@ -1351,13 +1351,11 @@ static void stat_free_ir_op(void *ctx, ir_op *op)
* Hook: A new node is created.
*
* @param ctx the hook context
- * @param irg the IR graph on which the node is created
* @param node the new IR node that was created
*/
-static void stat_new_node(void *ctx, ir_graph *irg, ir_node *node)
+static void stat_new_node(void *ctx, ir_node *node)
{
(void) ctx;
- (void) irg;
if (! status->stat_options)
return;