projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pressure stats
[libfirm]
/
ir
/
be
/
ppc32
/
ppc32_nodes_attr.h
diff --git
a/ir/be/ppc32/ppc32_nodes_attr.h
b/ir/be/ppc32/ppc32_nodes_attr.h
index
51cc8c8
..
2286610
100644
(file)
--- a/
ir/be/ppc32/ppc32_nodes_attr.h
+++ b/
ir/be/ppc32/ppc32_nodes_attr.h
@@
-38,8
+38,6
@@
typedef struct _ppc32_attr_t {
const ppc32_register_req_t **in_req; /**< register requirements for arguments */
const ppc32_register_req_t **out_req; /**< register requirements for results */
const ppc32_register_req_t **in_req; /**< register requirements for arguments */
const ppc32_register_req_t **out_req; /**< register requirements for results */
- const arch_register_t **slots; /**< register slots for assigned registers */
-
ppc32_attr_content_type content_type;
ppc32_attr_offset_mode offset_mode;
union {
ppc32_attr_content_type content_type;
ppc32_attr_offset_mode offset_mode;
union {
@@
-52,6
+50,8
@@
typedef struct _ppc32_attr_t {
void* empty;
} data;
void* empty;
} data;
+ /* must be last, dynamically allocated */
+ const arch_register_t *slots[1]; /**< register slots for assigned registers */
} ppc32_attr_t;
#endif /* _PPC32_NODES_ATTR_H_ */
} ppc32_attr_t;
#endif /* _PPC32_NODES_ATTR_H_ */