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/decomp/il.c | |
parent | 0f0cb560006c0ef5eb690f89c4ce720936c9d6f6 (diff) |
Cleaned the structure for instructions a little bit.
Diffstat (limited to 'src/analysis/decomp/il.c')
-rw-r--r-- | src/analysis/decomp/il.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/analysis/decomp/il.c b/src/analysis/decomp/il.c index 37110f2..36b5dfe 100644 --- a/src/analysis/decomp/il.c +++ b/src/analysis/decomp/il.c @@ -638,7 +638,7 @@ static void close_case_decomp_instructions(GDecInstruction *case_dinstr, GInstrB for (i = 0; i < lcount && is_common; i++) { g_flow_block_get_boundary(G_FLOW_BLOCK(leafs[i]), NULL, &last); - dcount = g_arch_instruction_get_destinations(last, &dests, NULL, NULL); + dcount = g_arch_instruction_get_destinations(last, &dests, NULL); for (j = 0; j < dcount && is_common; j++) { @@ -701,6 +701,8 @@ static void close_case_decomp_instructions(GDecInstruction *case_dinstr, GInstrB static void build_switch_branches(GSwitchInstruction *decomp, GFlowBlock *block, GDecContext *ctx) { +#if 0 + GArchInstruction *last; /* Dernière instruction du lot */ GInstrBlock *sub_parent; /* Groupe des sous-branches */ GHashTable *sub_shared; /* Allocations communes */ @@ -752,5 +754,5 @@ static void build_switch_branches(GSwitchInstruction *decomp, GFlowBlock *block, } g_hash_table_unref(sub_shared); - +#endif } |