diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-10-28 20:20:41 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-10-28 20:20:41 (GMT) |
commit | 2c70e3332b43bdcbe215081b697395d254418e48 (patch) | |
tree | d3287462eccd65d189f82de8428692bbaf477cbc /src/analysis/blocks | |
parent | 0f0cb560006c0ef5eb690f89c4ce720936c9d6f6 (diff) |
Cleaned the structure for instructions a little bit.
Diffstat (limited to 'src/analysis/blocks')
-rw-r--r-- | src/analysis/blocks/flow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/blocks/flow.c b/src/analysis/blocks/flow.c index bc14648..970fc21 100644 --- a/src/analysis/blocks/flow.c +++ b/src/analysis/blocks/flow.c @@ -575,7 +575,7 @@ bool g_flow_block_is_looping_to(GFlowBlock *block, const GInstrBlock *list, GFlo result = (block == target); g_arch_instruction_rlock_dest(block->last); - dcount = g_arch_instruction_get_destinations(block->last, &dests, &types, NULL); + dcount = g_arch_instruction_get_destinations(block->last, &dests, &types); for (i = 0; i < dcount && !result; i++) switch (types[i]) @@ -638,7 +638,7 @@ bool g_flow_block_follow(GFlowBlock *block, const GInstrBlock *list, BlockFollow result = callback(block, BFP_ENTER, data); g_arch_instruction_rlock_dest(block->last); - dcount = g_arch_instruction_get_destinations(block->last, &dests, &types, NULL); + dcount = g_arch_instruction_get_destinations(block->last, &dests, &types); for (i = 0; i < dcount && result; i++) switch (types[i]) |