summaryrefslogtreecommitdiff
path: root/src/arch/dalvik/operands
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-12-19 19:37:22 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-12-19 19:37:22 (GMT)
commit67ea22978ffb134a4b94e0c3cdb0802b3360a249 (patch)
tree68b088ed6b7f23a9653f3c97dc0fbcd529af7e28 /src/arch/dalvik/operands
parent16757c632c7cf2614e71db4f9261149d585d61e0 (diff)
Set the argument counter when building an arguments list.
Diffstat (limited to 'src/arch/dalvik/operands')
-rw-r--r--src/arch/dalvik/operands/args.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/dalvik/operands/args.c b/src/arch/dalvik/operands/args.c
index 5ba552b..5fa8a65 100644
--- a/src/arch/dalvik/operands/args.c
+++ b/src/arch/dalvik/operands/args.c
@@ -241,6 +241,8 @@ static bool g_dalvik_args_operand_do_init(GDalvikArgsOperand *operand, const GDa
for (i = 0; i < fake->count; i++)
operand->args[i] = fake->args[i];
+ operand->count = fake->count;
+
}
return true;