diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2013-01-20 13:10:06 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2013-01-20 13:10:06 (GMT) |
commit | 37fd2f1329c56078bc8a8b2fc955aa001c109c01 (patch) | |
tree | 71bcce9a3eaf6b7569d1f1d3e057752ae517ebde /src/arch/register-int.h | |
parent | a9bbd894bd25f7c2bb72fb7d4064b19377d90c6d (diff) |
Took care of shared allocations between blocks when converting registers.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@326 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/register-int.h')
-rw-r--r-- | src/arch/register-int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/register-int.h b/src/arch/register-int.h index 00773f3..8ff7a9a 100644 --- a/src/arch/register-int.h +++ b/src/arch/register-int.h @@ -29,6 +29,9 @@ +/* Produit une empreinte à partir d'un registre. */ +typedef guint (* reg_hash_fc) (const GArchRegister *); + /* Compare un registre avec un autre. */ typedef int (* reg_compare_fc) (const GArchRegister *, const GArchRegister *); @@ -48,6 +51,7 @@ struct _GArchRegister { GObject parent; /* A laisser en premier */ + reg_hash_fc hash; /* Production d'empreinte */ reg_compare_fc compare; /* Comparaison de registres */ reg_print_fc print; /* Impression du registre */ reg_is_base_pointer_fc is_bp; /* Correspondance avec ebp */ |