summaryrefslogtreecommitdiff
path: root/src/arch/operands/register.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/operands/register.h')
-rw-r--r--src/arch/operands/register.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/arch/operands/register.h b/src/arch/operands/register.h
index 7f746b6..e2f2c46 100644
--- a/src/arch/operands/register.h
+++ b/src/arch/operands/register.h
@@ -37,6 +37,14 @@
/* ------------------------- REGISTRE SOUS FORME D'OPERANDE ------------------------- */
+/* Etats particuliers d'un opérande de registre */
+typedef enum _RegOpFlag
+{
+ ROF_IS_WRITTEN = AOF_USER_FLAG(0), /* Opération d'écriture ? */
+
+} RegOpFlag;
+
+
#define G_TYPE_REGISTER_OPERAND g_register_operand_get_type()
#define G_REGISTER_OPERAND(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_REGISTER_OPERAND, GRegisterOperand))
#define G_IS_REGISTER_OPERAND(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), G_TYPE_REGISTER_OPERAND))
@@ -58,12 +66,6 @@ GType g_register_operand_get_type(void);
/* Fournit le registre associé à l'opérande. */
GArchRegister *g_register_operand_get_register(const GRegisterOperand *);
-/* Marque l'opérande comme étant écrit plutôt que consulté. */
-void g_register_operand_mark_as_written(GRegisterOperand *);
-
-/* Indique le type d'accès réalisé sur l'opérande. */
-bool g_register_operand_is_written(const GRegisterOperand *);
-
#endif /* _ARCH_OPERANDS_REGISTER_H */