From ecce3ab433f303a5f6883d204f9e9150e603a18d Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Tue, 28 Aug 2012 14:44:52 +0200 Subject: [PATCH] remove now unused get_irn_outs_computed() --- include/libfirm/irouts.h | 7 ------- ir/ana/irouts.c | 5 ----- 2 files changed, 12 deletions(-) diff --git a/include/libfirm/irouts.h b/include/libfirm/irouts.h index 73caa9d06..de1ac4da1 100644 --- a/include/libfirm/irouts.h +++ b/include/libfirm/irouts.h @@ -86,13 +86,6 @@ FIRM_API void irg_out_walk(ir_node *node, irg_walk_func *pre, FIRM_API void irg_out_block_walk(ir_node *node, irg_walk_func *pre, irg_walk_func *post, void *env); -/** - * Returns 1 if outs have been computed for a node, 0 otherwise. - * - * this is useful to detect newly created nodes that have no outs set yet - */ -FIRM_API int get_irn_outs_computed(const ir_node *node); - /** * Computes the out edges. Sets a flag in irg to "outs_consistent". If the * graph is changed this flag must be set to "outs_inconsistent". Computes diff --git a/ir/ana/irouts.c b/ir/ana/irouts.c index 06d90299f..00d1f0c59 100644 --- a/ir/ana/irouts.c +++ b/ir/ana/irouts.c @@ -38,11 +38,6 @@ #include "error.h" #include "ircons.h" -int get_irn_outs_computed(const ir_node *node) -{ - return node->out != NULL; -} - int get_irn_n_outs(const ir_node *node) { assert(node->kind == k_ir_node); -- 2.20.1