X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Fheight.h;h=b0ab2ff5a6e4c348b5e362a3e2b919f3f0cede6e;hb=ed9c74ceca0655fb484f0537dbea43afa2ca0a7e;hp=c85b819174bf66c0e3d52139a1a3fcb2cce17a3c;hpb=715c956ff0b7ce56bfb85ebc113f2ad8abc6a3aa;p=libfirm diff --git a/ir/ana/height.h b/ir/ana/height.h index c85b81917..b0ab2ff5a 100644 --- a/ir/ana/height.h +++ b/ir/ana/height.h @@ -40,6 +40,15 @@ int heights_reachable_in_block(heights_t *h, const ir_node *n, const ir_node *m) */ void heights_recompute(heights_t *h); +/** + * Recompute the height information for a certain block. + * This can be used to recompute the height information of a block. + * @param h The heights object. + * @param block The block + * @return The maximum over all heights in the block. + */ +unsigned heights_recompute_block(heights_t *h, ir_node *block); + /** * Make a new heights object. * This also computes the heights for each block in the graph.