diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-07-12 13:07:55 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-07-12 13:08:42 (GMT) |
commit | a331ff258895865049bf79bc1629dbc744b7faf5 (patch) | |
tree | c4f649ba21afcacf974cc6536f03aa97663a9acd /src/arch/immediate.h | |
parent | 9b018cede5af54594c0a20847239233153b04ce1 (diff) |
Removed the too complex memory share system.
Diffstat (limited to 'src/arch/immediate.h')
-rw-r--r-- | src/arch/immediate.h | 30 |
1 files changed, 5 insertions, 25 deletions
diff --git a/src/arch/immediate.h b/src/arch/immediate.h index 9becf91..84b3d2a 100644 --- a/src/arch/immediate.h +++ b/src/arch/immediate.h @@ -32,14 +32,10 @@ #include "archbase.h" #include "operand.h" -#include "sharing/container.h" #include "../analysis/content.h" -/* ------------------ MANIPULATION D'OPERANDES DE VALEUR IMMEDIATE ------------------ */ - - /* Grande ligne d'un format d'affichage */ typedef enum _ImmOperandDisplay { @@ -94,28 +90,28 @@ bool g_imm_operand_get_value(const GImmOperand *, MemoryDataSize, ...); uint64_t g_imm_operand_get_raw_value(const GImmOperand *); /* Définit la nouvelle valeur de l'opérande à une valeur. */ -void g_imm_operand_set_value(GImmOperand **, MemoryDataSize, uint64_t, GShareContainer *); +void g_imm_operand_set_value(GImmOperand *, MemoryDataSize, uint64_t); /* Précise si des zéro doivent compléter l'affichage ou non. */ -void g_imm_operand_pad_by_default(GImmOperand **, bool, GShareContainer *); +void g_imm_operand_pad_by_default(GImmOperand *, bool); /* Indique si une valeur est complétée par des zéros par défaut. */ bool g_imm_operand_does_padding_by_default(const GImmOperand *); /* Précise si des zéro doivent compléter l'affichage ou non. */ -void g_imm_operand_pad(GImmOperand **, bool, GShareContainer *); +void g_imm_operand_pad(GImmOperand *, bool); /* Indique si une valeur est complétée par des zéros. */ bool g_imm_operand_does_padding(const GImmOperand *); /* Définit le format textuel par défaut de la valeur. */ -void g_imm_operand_set_default_display(GImmOperand **, ImmOperandDisplay, GShareContainer *); +void g_imm_operand_set_default_display(GImmOperand *, ImmOperandDisplay); /* Indique le format textuel par défaut de la valeur. */ ImmOperandDisplay g_imm_operand_get_default_display(const GImmOperand *); /* Définit la grande ligne du format textuel de la valeur. */ -void g_imm_operand_set_display(GImmOperand **, ImmOperandDisplay, GShareContainer *); +void g_imm_operand_set_display(GImmOperand *, ImmOperandDisplay); /* Indique la grande ligne du format textuel de la valeur. */ ImmOperandDisplay g_imm_operand_get_display(const GImmOperand *); @@ -158,20 +154,4 @@ bool g_imm_operand_to_off_t(const GImmOperand *, off_t *, bool *) __attribute__ -/* -------------------------- PARTAGES DE CONTENUS UNIQUES -------------------------- */ - - -/* Initialise les mécanismes de partage des opérandes immédiates. */ -bool init_imm_operand_sharing(void); - -/* Imprime des statistiques quant aux partages dans l'archi. */ -#ifdef DEBUG_DUMP_STATS -void dump_imm_operand_share_stats(void); -#endif - -/* Supprime les mécanismes de partage des opérandes immédiates. */ -void exit_imm_operand_sharing(void); - - - #endif /* _ARCH_IMMEDIATE_H */ |