diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-04-20 18:52:01 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-04-20 18:52:01 (GMT) |
commit | 8e5c8417e8ef79c1b475cb1b86a1754b24f9af78 (patch) | |
tree | 650a39bde7a5367995b471a562aa766febd505bc /plugins/stackvars | |
parent | c177597d6da5dedb32aa176e8370db8ffb7f87aa (diff) |
Shared immediate operands in order to avoid useless allocations.
Diffstat (limited to 'plugins/stackvars')
-rw-r--r-- | plugins/stackvars/stackvars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/stackvars/stackvars.c b/plugins/stackvars/stackvars.c index f3baeef..4e07035 100644 --- a/plugins/stackvars/stackvars.c +++ b/plugins/stackvars/stackvars.c @@ -216,7 +216,7 @@ static bool replace_stack_vars_in_instruction(GArchInstruction *instr, GBinRouti if (!dryrun && result) { - _g_arch_instruction_replace_operand(instr, new, operand); + _g_arch_instruction_replace_operand(instr, operand, new); result = true; |