X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Firouts.c;h=2b6ecddc5555cfd1dc5855421db6c19e958b2a8b;hb=10eef22ea7cc53f85f7f119430ebf2bf02348fae;hp=92a57553aef83b3308039a35af2f0eb384aaf944;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/ir/ana/irouts.c b/ir/ana/irouts.c index 92a57553a..2b6ecddc5 100644 --- a/ir/ana/irouts.c +++ b/ir/ana/irouts.c @@ -59,6 +59,11 @@ static void reset_outs(ir_node *node, void *unused) { } #endif +int get_irn_outs_computed(const ir_node *node) +{ + return node->out != NULL; +} + /* returns the number of successors of the node: */ int get_irn_n_outs(ir_node *node) { assert(node && node->kind == k_ir_node);