projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee44abb
)
Added a const
author
Sebastian Hack
<hack@ipd.info.uni-karlsruhe.de>
Wed, 15 Mar 2006 16:25:53 +0000
(16:25 +0000)
committer
Sebastian Hack
<hack@ipd.info.uni-karlsruhe.de>
Wed, 15 Mar 2006 16:25:53 +0000
(16:25 +0000)
ir/be/bechordal.c
patch
|
blob
|
history
diff --git
a/ir/be/bechordal.c
b/ir/be/bechordal.c
index
698ce8d
..
81ac0a1
100644
(file)
--- a/
ir/be/bechordal.c
+++ b/
ir/be/bechordal.c
@@
-334,7
+334,7
@@
static ir_node *handle_constraints(be_chordal_alloc_env_t *alloc_env, ir_node *i
for(i = 0, n_alloc = 0; i < insn->n_ops; ++i) {
operand_t *op = &insn->ops[i];
if(arch_register_req_is(&op->req, limited) && arch_irn_consider_in_reg_alloc(aenv, env->cls, op->carrier)) {
- arch_register_t *reg = arch_get_irn_register(aenv, op->carrier);
+
const
arch_register_t *reg = arch_get_irn_register(aenv, op->carrier);
pmap_insert(partners, op->carrier, op->partner ? op->partner->carrier : NULL);
alloc_nodes[n_alloc] = op->carrier;