projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78b108e
)
fix firm backend
author
Matthias Braun
<matze@braunis.de>
Wed, 28 Mar 2007 10:39:57 +0000
(10:39 +0000)
committer
Matthias Braun
<matze@braunis.de>
Wed, 28 Mar 2007 10:39:57 +0000
(10:39 +0000)
ir/be/firm/bearch_firm.c
patch
|
blob
|
history
diff --git
a/ir/be/firm/bearch_firm.c
b/ir/be/firm/bearch_firm.c
index
606e243
..
8b4b599
100644
(file)
--- a/
ir/be/firm/bearch_firm.c
+++ b/
ir/be/firm/bearch_firm.c
@@
-254,15
+254,12
@@
static const arch_register_req_t firm_std_reg_req = {
};
static const arch_register_req_t *
-firm_get_irn_reg_req(const void *self,
- arch_register_req_t *req, const ir_node *irn, int pos)
+firm_get_irn_reg_req(const void *self, const ir_node *irn, int pos)
{
if(is_firm_be_mode(get_irn_mode(irn)))
- memcpy(req, &firm_std_reg_req, sizeof(*req));
- else
- req = NULL;
+ return &firm_std_reg_req;
- return
req
;
+ return
NULL
;
}
struct irn_reg_assoc {