summaryrefslogtreecommitdiffhomepage
path: root/ir/be/becopyopt_t.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-27 08:21:55 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-27 11:16:15 +0100
commit256f62cc95bff324e0bd4108ae1af8a748871f39 (patch)
tree9c4c52494cbcefb259c67889738096d3165c2f18 /ir/be/becopyopt_t.h
parent89be0b49f0d8da284c9cbbbf048c7fba0574769d (diff)
bearch: Replace is_2addr_code(req) by arch_register_req_is(req, should_be_same).
Diffstat (limited to 'ir/be/becopyopt_t.h')
-rw-r--r--ir/be/becopyopt_t.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/ir/be/becopyopt_t.h b/ir/be/becopyopt_t.h
index 7abaf02..31068c8 100644
--- a/ir/be/becopyopt_t.h
+++ b/ir/be/becopyopt_t.h
@@ -76,11 +76,6 @@ static inline void set_irn_col(const arch_register_class_t *cls, ir_node *node,
#define get_Perm_src(irn) (get_irn_n(get_Proj_pred(irn), get_Proj_proj(irn)))
#define is_Perm_Proj(irn) (is_Proj(irn) && be_is_Perm(get_Proj_pred(irn)))
-static inline int is_2addr_code(const arch_register_req_t *req)
-{
- return (req->type & arch_register_req_type_should_be_same) != 0;
-}
-
/******************************************************************************
____ _ _ _ _ _ _____ _
/ __ \ | | | | | | (_) | / ____| |