add a modify_flags flag
authorMatthias Braun <matze@braunis.de>
Wed, 12 Sep 2007 17:03:48 +0000 (17:03 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 12 Sep 2007 17:03:48 +0000 (17:03 +0000)
[r15760]

ir/be/bearch.h
ir/be/bearch_t.h

index 48b247b..07c5830 100644 (file)
@@ -123,7 +123,8 @@ typedef enum arch_irn_flags_t {
        arch_irn_flags_rematerializable = 2, /**< This can be replicated instead of spilled/reloaded. */
        arch_irn_flags_ignore           = 4, /**< Ignore node during register allocation. */
        arch_irn_flags_modify_sp        = 8, /**< I modify the stack pointer. */
-       arch_irn_flags_last             = arch_irn_flags_modify_sp
+       arch_irn_flags_modify_flags     = 16, /**< I modify flags. */
+       arch_irn_flags_last             = arch_irn_flags_modify_flags
 } arch_irn_flags_t;
 
 /**
index 6466cd2..9693917 100644 (file)
@@ -81,10 +81,11 @@ const char *_arch_register_get_name(const arch_register_t *reg)
  * Like general purpose or floating point.
  */
 struct arch_register_class_t {
-       const char *name;               /**< The name of the register class. */
-       int n_regs;                     /**< Number of registers in this class. */
-       ir_mode *mode;                  /**< The mode of the register class. */
-       const arch_register_t *regs;    /**< The array of registers. */
+       const char                  *name;   /**< The name of the register class.*/
+       int                          n_regs; /**< Number of registers in this
+                                                 class. */
+       ir_mode                     *mode;   /**< The mode of the register class.*/
+       const arch_register_t       *regs;   /**< The array of registers. */
 };
 
 /** return the number of registers in this register class */