Added support for SymConst(ofs_ent)
[libfirm] / ir / be / ppc32 / ppc32_new_nodes.c
index cdd30c4..f63a5a8 100644 (file)
@@ -513,7 +513,7 @@ ppc32_attr_offset_mode get_ppc32_offset_mode(const ir_node *node) {
  * Initializes ppc specific node attributes
  */
 void init_ppc32_attributes(ir_node *node, int flags,
-                                                const ppc32_register_req_t **in_reqs, const ppc32_register_req_t **out_reqs, int n_res) {
+                                                const ppc32_register_req_t **in_reqs, const ppc32_register_req_t **out_reqs, int n_res, unsigned latency) {
        ppc32_attr_t *attr = get_ppc32_attr(node);
 
        attr->flags   = flags;
@@ -525,7 +525,7 @@ void init_ppc32_attributes(ir_node *node, int flags,
        attr->offset_mode  = ppc32_ao_Illegal;
        attr->data.empty   = NULL;
 
-       memset(attr->slots, 0, n_res * sizeof(attr->slots[0]));
+       memset((void *)attr->slots, 0, n_res * sizeof(attr->slots[0]));
 }