summaryrefslogtreecommitdiff
path: root/src/arch/processor-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-07-31 05:53:06 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-07-31 05:53:06 (GMT)
commita5d8e3fc30cda2e13d30f099e93ab1b182fdc0bd (patch)
treecf183906b2301cd3c726af820292fd0f2458bfa1 /src/arch/processor-int.h
parentdc436357ff29158dddd836d368d152d42d5b086b (diff)
Improved the way code is decoded by avoiding to propagate the base address everywhere.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@385 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/processor-int.h')
-rw-r--r--src/arch/processor-int.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/processor-int.h b/src/arch/processor-int.h
index 82f402a..c8263f7 100644
--- a/src/arch/processor-int.h
+++ b/src/arch/processor-int.h
@@ -67,7 +67,6 @@ struct _GArchProcessor
get_processor_context_fc get_ctx; /* Obtention d'un contexte #1 */
get_decomp_context_fc get_dec_ctx; /* Obtention d'un contexte #2 */
- decode_instruction_fc decode; /* Traduction en instructions */
};
@@ -82,6 +81,8 @@ struct _GArchProcessorClass
{
GObjectClass parent; /* A laisser en premier */
+ decode_instruction_fc decode; /* Traduction en instructions */
+
};