summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bedump.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/bedump.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/bedump.c')
-rw-r--r--ir/be/bedump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/bedump.c b/ir/be/bedump.c
index c056bc7..014106c 100644
--- a/ir/be/bedump.c
+++ b/ir/be/bedump.c
@@ -199,8 +199,8 @@ static void dump_register_req(FILE *const F, arch_register_req_t const *const re
}
}
- if (arch_register_req_is(req, should_be_same))
- dump_bitmask(F, " same as", req->other_same);
+ if (req->should_be_same != 0)
+ dump_bitmask(F, " same as", req->should_be_same);
if (arch_register_req_is(req, must_be_different))
dump_bitmask(F, " different from", req->other_different);