X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fppc32%2Fppc32_nodes_attr.h;h=22866105b90a8b9eb26b28f786be132ccc844d61;hb=b7aa66eb5b4b4668d2b009020d3ee9be9bdaf56c;hp=51cc8c8c05b88582b1eefd71bce924b00a1b86ff;hpb=0493af5aa3bca8dfb09e1a49135b5ad1e9e97020;p=libfirm diff --git a/ir/be/ppc32/ppc32_nodes_attr.h b/ir/be/ppc32/ppc32_nodes_attr.h index 51cc8c8c0..22866105b 100644 --- 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 arch_register_t **slots; /**< register slots for assigned registers */ - 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; + /* must be last, dynamically allocated */ + const arch_register_t *slots[1]; /**< register slots for assigned registers */ } ppc32_attr_t; #endif /* _PPC32_NODES_ATTR_H_ */