diff options
Diffstat (limited to 'src/arch/link.h')
-rw-r--r-- | src/arch/link.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/arch/link.h b/src/arch/link.h index 1000365..07a3d88 100644 --- a/src/arch/link.h +++ b/src/arch/link.h @@ -27,30 +27,29 @@ #include "instruction.h" #include "processor.h" -#include "../format/format.h" /* Etablit un lien de saut selon une instruction donnée. */ -void handle_jump_as_link(GArchInstruction *, GArchProcessor *, GProcContext *, GBinFormat *); +void handle_jump_as_link(GArchInstruction *, GArchProcessor *, GProcContext *, GExeFormat *); /* Etablit un lien d'appel selon une instruction donnée. */ -void handle_branch_as_link(GArchInstruction *, GArchProcessor *, GProcContext *, GBinFormat *, size_t); +void handle_branch_as_link(GArchInstruction *, GArchProcessor *, GProcContext *, GExeFormat *, size_t); -static inline void handle_branch_if_true_as_link(GArchInstruction *ins, GArchProcessor *proc, GProcContext *ctx, GBinFormat *fmt) +static inline void handle_branch_if_true_as_link(GArchInstruction *ins, GArchProcessor *proc, GProcContext *ctx, GExeFormat *fmt) { handle_branch_as_link(ins, proc, ctx, fmt, 0); } -static inline void handle_comp_and_branch_if_true_as_link(GArchInstruction *ins, GArchProcessor *proc, GProcContext *ctx, GBinFormat *fmt) +static inline void handle_comp_and_branch_if_true_as_link(GArchInstruction *ins, GArchProcessor *proc, GProcContext *ctx, GExeFormat *fmt) { handle_branch_as_link(ins, proc, ctx, fmt, 1); } /* Etablit un lien d'appel selon une instruction donnée. */ -void handle_call_as_link(GArchInstruction *, GArchProcessor *, GProcContext *, GBinFormat *); +void handle_call_as_link(GArchInstruction *, GArchProcessor *, GProcContext *, GExeFormat *); |