diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/processors.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/processors.c b/src/core/processors.c index 6de2c09..d968d4f 100644 --- a/src/core/processors.c +++ b/src/core/processors.c @@ -31,6 +31,7 @@ #include "../arch/immediate.h" #include "../arch/target.h" +#include "../arch/register.h" #include "../arch/arm/v7/core.h" #include "../arch/arm/v7/processor.h" #include "../arch/dalvik/core.h" @@ -145,6 +146,7 @@ bool load_hard_coded_processors_definitions(void) result = init_imm_operand_sharing(); result &= init_target_operand_sharing(); + result &= init_register_operand_sharing(); result &= register_processor_type("armv7", "ARM v7", G_TYPE_ARMV7_PROCESSOR, #ifdef DEBUG_DUMP_STATS @@ -197,6 +199,7 @@ void unload_processors_definitions(void) _processors_definitions = NULL; _processors_definitions_count = 0; + exit_register_operand_sharing(); exit_target_operand_sharing(); exit_imm_operand_sharing(); |