diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2013-02-02 18:51:02 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2013-02-02 18:51:02 (GMT) |
commit | 5b89c8369d2a26089f22be7c482e8254244ebc8c (patch) | |
tree | fdd7a23a256a0841f0d0d32a0ce33ceeb54e671e /src/analysis/block.c | |
parent | 0936f64aac6a4fa9ebc08962bc9cac663f210c00 (diff) |
Closed some switch cases with a 'break' keyword.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@336 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/block.c')
-rw-r--r-- | src/analysis/block.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/analysis/block.c b/src/analysis/block.c index 50d5644..d8d906a 100644 --- a/src/analysis/block.c +++ b/src/analysis/block.c @@ -202,6 +202,27 @@ void g_instr_block_list_all_blocks(const GInstrBlock *block, GInstrBlock ***list /****************************************************************************** * * +* Paramètres : block = bloc d'instructions à consulter. * +* list = ensemble de blocs à compléter. [OUT] * +* count = nombre de blocs au total. [OUT] * +* * +* Description : Etablit la liste de tous les blocs terminaux. * +* * +* Retour : - * +* * +* Remarques : - * +* * +******************************************************************************/ + +void g_instr_block_list_leafs_blocks(const GInstrBlock *block, GInstrBlock ***list, size_t *count) +{ + block->list_leafs(block, list, count); + +} + + +/****************************************************************************** +* * * Paramètres : block = bloc d'instructions à mettre à jour. * * links = bloc contenant les blocs liés au bloc. * * * |