shithub: mc

Download patch

ref: 5cdfb5869c227819c6aa69b9337d9cafe7882444
parent: 991fa68f601d19c629ff2aa1fd819c8369251bee
author: Ori Bernstein <[email protected]>
date: Thu Sep 27 17:50:00 EDT 2012

Remove debug prints

--- a/6/isel.c
+++ b/6/isel.c
@@ -688,14 +688,8 @@
             if (insn->args[0]->mode != insn->args[1]->mode)
                 insn->args[0] = coreg(insn->args[0]->reg.colour, insn->args[1]->mode);
             /* moving a reg to itself is dumb. */
-            if (insn->args[0]->reg.colour == insn->args[1]->reg.colour) {
-                printf("SKIPPING mov ");
-                locprint(stdout, insn->args[0], 'x');
-                printf(" ");
-                locprint(stdout, insn->args[1], 'x');
-                printf("\n");
+            if (insn->args[0]->reg.colour == insn->args[1]->reg.colour)
                 return;
-            }
             break;
         default:
             break;