From: Michael Beck Date: Sun, 2 Apr 2006 11:12:21 +0000 (+0000) Subject: placed register_options() last in the interface X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=c1c447c21f5b86229fa44b44973c9abf6b67193f;p=libfirm placed register_options() last in the interface --- diff --git a/ir/be/bearch.h b/ir/be/bearch.h index b9dfd5ce3..060d0b9ae 100644 --- a/ir/be/bearch.h +++ b/ir/be/bearch.h @@ -498,10 +498,6 @@ struct _arch_isa_t { */ struct _arch_isa_if_t { -#ifdef WITH_LIBCORE - void (*register_options)(lc_opt_entry_t *grp); -#endif - /** * Initialize the isa interface. */ @@ -570,6 +566,14 @@ struct _arch_isa_if_t { * @return The alignment in bytes. */ int (*get_reg_class_alignment)(const void *self, const arch_register_class_t *cls); + +#ifdef WITH_LIBCORE + /** + * Register command line options for this backend. + * @param grp The root group. + */ + void (*register_options)(lc_opt_entry_t *grp); +#endif }; #define arch_isa_get_n_reg_class(isa) ((isa)->impl->get_n_reg_class(isa))