diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-03-07 20:52:48 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-03-07 20:52:48 (GMT) |
commit | c0b4029475158f16f683e4c46a86b28f7a146a1c (patch) | |
tree | a49704dd793189094b3d6cefd90d7f06e6a7cc14 /src/arch/instruction-int.h | |
parent | 12b8a066d1d8dd8cbef587dc6fafed870604f49f (diff) |
Created arrays with low memory footprint.
Diffstat (limited to 'src/arch/instruction-int.h')
-rw-r--r-- | src/arch/instruction-int.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/arch/instruction-int.h b/src/arch/instruction-int.h index 8dbdd18..beb6b50 100644 --- a/src/arch/instruction-int.h +++ b/src/arch/instruction-int.h @@ -27,6 +27,7 @@ #include "archbase.h" #include "instruction.h" +#include "../common/array.h" @@ -54,9 +55,7 @@ struct _GArchInstruction const GBinContent *content; /* Contenu binaire global */ mrange_t range; /* Emplacement en mémoire */ - GArchOperand **operands; /* Liste des opérandes */ - size_t operands_count; /* Nbre. d'opérandes utilisées */ - gint operands_lock; /* Verrouillage des accès */ + flat_array_t *operands; /* Liste des opérandes */ /** * Il existe le besoin indéniable d'un verrou pour les accès aux instructions |