removed ia32_register_additional_opcodes(), not needed anymore
[libfirm] / ir / be / bearch.h
index 9742429..060d0b9 100644 (file)
@@ -346,7 +346,7 @@ extern int arch_reg_is_allocatable(const arch_env_t *env,
  * Get the register class of an operand of a node.
  * @param env The architecture environment.
  * @param irn The node.
- * @param pos The position of the operand.
+ * @param pos The position of the operand, -1 for the output.
  * @return    The register class of the operand or NULL, if
  *            operand is a non-register operand.
  */
@@ -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))