diff options
Diffstat (limited to 'src/arch')
| -rw-r--r-- | src/arch/arm/v7/helpers.c | 29 | ||||
| -rw-r--r-- | src/arch/arm/v7/helpers.h | 3 | 
2 files changed, 0 insertions, 32 deletions
| diff --git a/src/arch/arm/v7/helpers.c b/src/arch/arm/v7/helpers.c index d63614f..c05025c 100644 --- a/src/arch/arm/v7/helpers.c +++ b/src/arch/arm/v7/helpers.c @@ -231,35 +231,6 @@ GArchOperand *thumb_expand_armv7_imm(uint32_t value)  /******************************************************************************  *                                                                             * -*  Paramètres  : index = indice du registre correspondant.                    * -*                                                                             * -*  Description : Crée un opérande représentant un registre ARMv7.             * -*                                                                             * -*  Retour      : Adresse de la structure mise en place.                       * -*                                                                             * -*  Remarques   : -                                                            * -*                                                                             * -******************************************************************************/ - -GArchOperand *translate_armv7_register(uint8_t index) -{ -    GArchOperand *result;                   /* Opérande à faire remonter   */ -    GArmV7Register *reg;                    /* Register à représenter      */ - -    reg = g_armv7_register_new(index); - -    if (reg == NULL) -        result = NULL; -    else -        result = g_register_operand_new(G_ARCH_REGISTER(reg)); - -    return result; - -} - - -/****************************************************************************** -*                                                                             *  *  Paramètres  : value = valeur sur 32 bits maximum à traiter.                *  *                size  = taille de la valeur finale à constituer.             *  *                                                                             * diff --git a/src/arch/arm/v7/helpers.h b/src/arch/arm/v7/helpers.h index d945ca0..b3fe60f 100644 --- a/src/arch/arm/v7/helpers.h +++ b/src/arch/arm/v7/helpers.h @@ -431,9 +431,6 @@ GArchOperand *sign_extend_armv7_imm(uint32_t, bool, unsigned int);  /* Etend une valeur immédiate en mode 'Thumb' ARMv7. */  GArchOperand *thumb_expand_armv7_imm(uint32_t); -/* Crée un opérande représentant un registre ARMv7. */ -//GArchOperand *translate_armv7_register(uint8_t); -  /* Réalise un simple transtypage de valeur entière. */  GArchOperand *zero_extend_armv7_imm(uint32_t, unsigned int); | 
