cleanup: Remove pointless assert(is_${NODE}(x)) just before get_${NODE}_${FOO}(x...
[libfirm] / ir / be / beinsn_t.h
index d4003f0..8c8c953 100644 (file)
@@ -27,7 +27,6 @@
 
 #include "firm_types.h"
 #include "bitset.h"
-#include "obst.h"
 
 #include "bearch.h"
 #include "bechordal.h"
@@ -36,22 +35,17 @@ typedef struct be_operand_t  be_operand_t;
 typedef struct be_insn_t     be_insn_t;
 
 struct be_operand_t {
-       ir_node *irn;                   /**< Firm node of the insn this operand belongs to */
-       ir_node *carrier;               /**< node representing the operand value (Proj or the node itself for defs, the used value for uses) */
-       be_operand_t *partner;          /**< used in bechordal later... (TODO what does it do?) */
-       const bitset_t *regs;           /**< admissible register bitset */
-       int pos;                        /**< pos of the operand (0 to n are inputs, -1 to -n are outputs) */
-       const arch_register_req_t *req; /**< register constraints for the carrier node */
-       unsigned has_constraints : 1;   /**< the carrier node has register constraints (the constraint type is limited) */
+       ir_node        *carrier; /**< node representing the operand value (Proj or the node itself for defs, the used value for uses) */
+       be_operand_t   *partner; /**< used in bechordal later... (TODO what does it do?) */
+       unsigned const *regs;    /**< admissible register bitset */
 };
 
 struct be_insn_t {
-       be_operand_t *ops;             /**< the values used and defined by the insn */
-       int n_ops;                     /**< length of the ops array */
-       int use_start;                 /**< entries [0-use_start) in ops are defs,
-                                           [use_start-n_ops) uses */
-       ir_node *irn;                  /**< ir_node of the instruction */
-       unsigned has_constraints : 1;  /**< in_constraints or out_constraints true */
+       be_operand_t *ops;       /**< the values used and defined by the insn */
+       int           n_ops;     /**< length of the ops array */
+       int           use_start; /**< entries [0-use_start) in ops are defs,
+                                     [use_start-n_ops) uses */
+       ir_node      *irn;       /**< ir_node of the instruction */
 };
 
 /**
@@ -62,6 +56,6 @@ struct be_insn_t {
  *
  * @return the be_insn for the IR node
  */
-be_insn_t *be_scan_insn(be_chordal_env_t const *env, ir_node *irn);
+be_insn_t *be_scan_insn(be_chordal_env_t *env, ir_node *irn);
 
 #endif /* FIRM_BE_BEINSN_T_H */