diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-10-28 22:26:53 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-10-28 22:26:53 (GMT) |
commit | 8c71b36d401b2473342daddcb9b7eb4b83ba3295 (patch) | |
tree | 13515f99f3e01fc2d1701189e500fa69763da7f9 /src/arch/instruction-int.h | |
parent | 2c70e3332b43bdcbe215081b697395d254418e48 (diff) |
Optimized access to instruction sources and destinations.
Diffstat (limited to 'src/arch/instruction-int.h')
-rw-r--r-- | src/arch/instruction-int.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/arch/instruction-int.h b/src/arch/instruction-int.h index c393b5f..6c9da03 100644 --- a/src/arch/instruction-int.h +++ b/src/arch/instruction-int.h @@ -70,20 +70,13 @@ struct _GArchInstruction GArchOperand **operands; /* Liste des opérandes */ size_t operands_count; /* Nbre. d'opérandes utilisées */ - GArchInstruction **from; /* Origines des références */ - InstructionLinkType *from_types; /* Type des liens de dest. */ + instr_link_t *from; /* Origines des références */ size_t from_count; /* Nombre de ces origines */ - GRWLock from_access; /* Verrou de protection */ -#ifndef NDEBUG - gint hold_from_access; /* Suivi des verrouillages */ -#endif - - GArchInstruction **to; /* Eventuelles lignes visées */ - InstructionLinkType *to_types; /* Type des liens de dest. */ + instr_link_t *to; /* Instructions visées */ size_t to_count; /* Nombre de ces destinations */ - GRWLock to_access; /* Verrou de protection */ + GRWLock link_access; /* Verrou de protection */ #ifndef NDEBUG - gint hold_to_access; /* Suivi des verrouillages */ + gint hold_link_access; /* Suivi des verrouillages */ #endif //get_instruction_rw_regs_fc get_rw_regs; /* Liste des registres liés */ |