summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bearch.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-06-30 08:07:07 +0200
committerMatthias Braun <matze@braunis.de>2015-07-01 07:40:03 +0200
commitc15ec9596306be5ea62c087d37024f0cac05d490 (patch)
tree7f1194ce671d1c4d68c405ab86ba2382080bac58 /ir/be/bearch.c
parent58b0168a2361d25b641eb0d5b8382ee75173b562 (diff)
bearch: rework should_be_same constraint
- Rename other_same field to should_be_same. - Remove arch_register_req_type_other_same, it's enough to see if the should_be_same field is not zero.
Diffstat (limited to 'ir/be/bearch.c')
-rw-r--r--ir/be/bearch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bearch.c b/ir/be/bearch.c
index 02bcd4e..10fae95 100644
--- a/ir/be/bearch.c
+++ b/ir/be/bearch.c
@@ -22,7 +22,7 @@ arch_register_req_t const arch_no_requirement = {
.cls = NULL,
.limited = NULL,
.type = arch_register_req_type_none,
- .other_same = 0,
+ .should_be_same = 0,
.other_different = 0,
.width = 0,
};