summaryrefslogtreecommitdiff
path: root/src/arch/dalvik/opcodes/neg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/dalvik/opcodes/neg.c')
-rw-r--r--src/arch/dalvik/opcodes/neg.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/arch/dalvik/opcodes/neg.c b/src/arch/dalvik/opcodes/neg.c
index ce96a68..0facb59 100644
--- a/src/arch/dalvik/opcodes/neg.c
+++ b/src/arch/dalvik/opcodes/neg.c
@@ -61,6 +61,8 @@ GArchInstruction *dalvik_read_instr_neg_double(const bin_t *data, off_t *pos, of
return NULL;
}
+ dalvik_mark_first_operand_as_written(result);
+
return result;
}
@@ -98,6 +100,8 @@ GArchInstruction *dalvik_read_instr_neg_float(const bin_t *data, off_t *pos, off
return NULL;
}
+ dalvik_mark_first_operand_as_written(result);
+
return result;
}
@@ -135,6 +139,8 @@ GArchInstruction *dalvik_read_instr_neg_int(const bin_t *data, off_t *pos, off_t
return NULL;
}
+ dalvik_mark_first_operand_as_written(result);
+
return result;
}
@@ -172,6 +178,8 @@ GArchInstruction *dalvik_read_instr_neg_long(const bin_t *data, off_t *pos, off_
return NULL;
}
+ dalvik_mark_first_operand_as_written(result);
+
return result;
}