Do not emit cld in the CopyB prologue. The ABI mandates that DF is cleared, so do...
[libfirm] / ir / be / bessadestr.c
index 77cf75c..3bcc300 100644 (file)
@@ -167,7 +167,7 @@ static void insert_all_perms_walker(ir_node *bl, void *data) {
                         * Create a new Perm with the arguments just collected
                         * above in the arg_set and insert it into the schedule.
                         */
-                       in = xmalloc(n_projs * sizeof(in[0]));
+                       in = XMALLOCN(ir_node*, n_projs);
                        for(pp = set_first(arg_set); pp; pp = set_next(arg_set))
                                in[pp->pos] = pp->arg;