added new irn op callbacks for memory operands
[libfirm] / ir / be / arm / arm_new_nodes.c
index e7e7de6..3a4939e 100644 (file)
@@ -41,7 +41,7 @@
  * Returns the shift modifier string.
  */
 const char *arm_shf_mod_name(arm_shift_modifier mod) {
-  static const char *names[] = { NULL, NULL, "ASR", "LSL", "LSR", "ROR", "RRX" };
+  static const char *names[] = { NULL, NULL, "asr", "lsl", "lsr", "ror", "rrx" };
        return names[mod];
 }
 
@@ -512,7 +512,7 @@ void init_arm_attributes(ir_node *node, int flags, const arm_register_req_t ** i
        attr->n_projs          = 0;
        attr->default_proj_num = 0;
 
-       memset(attr->slots, 0, n_res * sizeof(attr->slots[0]));
+       memset((void *)attr->slots, 0, n_res * sizeof(attr->slots[0]));
 }
 
 static int arm_comp_condJmp(arm_attr_t *attr_a, arm_attr_t *attr_b) {