placed register_options() last in the interface
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 2 Apr 2006 11:12:21 +0000 (11:12 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 2 Apr 2006 11:12:21 +0000 (11:12 +0000)
ir/be/bearch.h

index b9dfd5c..060d0b9 100644 (file)
@@ -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))