summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beinsn_t.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2010-10-08 16:02:19 +0200
committerMatthias Braun <matze@braunis.de>2010-10-08 16:02:19 +0200
commit6c3146b96bc65d9de18f3f2b59faf33b8b9935d6 (patch)
tree516262baf2b94b352b1a2629a1af05b5d6444c8c /ir/be/beinsn_t.h
parent199fcc3a56d1ce5f18819aef4a6fb91adf490694 (diff)
backend: cleanup queries for ignore regs
[r28071]
Diffstat (limited to 'ir/be/beinsn_t.h')
-rw-r--r--ir/be/beinsn_t.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/ir/be/beinsn_t.h b/ir/be/beinsn_t.h
index a1e93d1..c58fa21 100644
--- a/ir/be/beinsn_t.h
+++ b/ir/be/beinsn_t.h
@@ -41,7 +41,7 @@ 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?) */
- bitset_t *regs; /**< admissible register bitset */
+ 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) */
@@ -63,7 +63,7 @@ struct be_insn_t {
struct be_insn_env_t {
struct obstack *obst;
const arch_register_class_t *cls;
- bitset_t *ignore_colors;
+ bitset_t *allocatable_regs;
};
#define be_insn_n_defs(insn) ((insn)->use_start)
@@ -71,6 +71,4 @@ struct be_insn_env_t {
be_insn_t *be_scan_insn(const be_insn_env_t *env, ir_node *irn);
-be_insn_env_t *be_insn_env_init(be_insn_env_t *ie, ir_graph *irg, const arch_register_class_t *cls, struct obstack *obst);
-
#endif /* FIRM_BE_BEINSN_T_H */