summaryrefslogtreecommitdiff
path: root/src/arch/target.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-07-12 13:07:55 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-07-12 13:08:42 (GMT)
commita331ff258895865049bf79bc1629dbc744b7faf5 (patch)
treec4f649ba21afcacf974cc6536f03aa97663a9acd /src/arch/target.h
parent9b018cede5af54594c0a20847239233153b04ce1 (diff)
Removed the too complex memory share system.
Diffstat (limited to 'src/arch/target.h')
-rw-r--r--src/arch/target.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/arch/target.h b/src/arch/target.h
index affe59e..529dba8 100644
--- a/src/arch/target.h
+++ b/src/arch/target.h
@@ -32,14 +32,10 @@
#include "archbase.h"
#include "operand.h"
#include "vmpa.h"
-#include "sharing/container.h"
#include "../format/format.h"
-/* ------------------------ GESTION DES OPERANDES DE CIBLAGE ------------------------ */
-
-
#define G_TYPE_TARGET_OPERAND g_target_operand_get_type()
#define G_TARGET_OPERAND(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), g_target_operand_get_type(), GTargetOperand))
#define G_IS_TARGET_OPERAND(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), g_target_operand_get_type()))
@@ -68,27 +64,11 @@ MemoryDataSize g_target_operand_get_size(const GTargetOperand *);
void g_target_operand_get_addr(const GTargetOperand *, vmpa2t *);
/* Tente une résolution de symbole. */
-bool g_target_operand_resolve(GTargetOperand **, GBinFormat *, bool, GShareContainer *);
+bool g_target_operand_resolve(GTargetOperand *, GBinFormat *, bool);
/* Fournit les indications concernant le symbole associé. */
GBinSymbol *g_target_operand_get_symbol(const GTargetOperand *, phys_t *);
-/* -------------------------- PARTAGES DE CONTENUS UNIQUES -------------------------- */
-
-
-/* Initialise les mécanismes de partage des opérandes de ciblage. */
-bool init_target_operand_sharing(void);
-
-/* Imprime des statistiques quant aux partages dans l'archi. */
-#ifdef DEBUG_DUMP_STATS
-void dump_target_operand_share_stats(void);
-#endif
-
-/* Supprime les mécanismes de partage des opérandes de ciblage. */
-void exit_target_operand_sharing(void);
-
-
-
#endif /* _ARCH_TARGET_H */