projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Allocate register slots array separately on obstack
[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
74ed775
..
e9770c1
100644
(file)
--- a/
ir/be/ppc32/ppc32_nodes_attr.h
+++ b/
ir/be/ppc32/ppc32_nodes_attr.h
@@
-52,7
+52,6
@@
typedef enum {
typedef struct _ppc32_attr_t {
arch_irn_flags_t flags; /**< indicating if spillable, rematerializeable ... etc. */
typedef struct _ppc32_attr_t {
arch_irn_flags_t flags; /**< indicating if spillable, rematerializeable ... etc. */
- int n_res; /**< number of results for this node */
const arch_register_req_t **in_req; /**< register requirements for arguments */
const arch_register_req_t **out_req; /**< register requirements for results */
const arch_register_req_t **in_req; /**< register requirements for arguments */
const arch_register_req_t **out_req; /**< register requirements for results */
@@
-69,8
+68,7
@@
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 */
+ const arch_register_t **slots; /**< register slots for assigned registers */
} ppc32_attr_t;
#endif
} ppc32_attr_t;
#endif