shithub: mc

Download patch

ref: e091f0e5c9f334e0a0c35fd56d5805bb2464eea0
parent: 948714f154e2cb986a34225ab2cef602c746d106
author: Ori Bernstein <[email protected]>
date: Tue Jul 24 07:00:28 EDT 2012

Put the line label before, not after, the asm

--- a/8/isel.c
+++ b/8/isel.c
@@ -863,8 +863,8 @@
             /* put in a comment that says where this line comes from */
             snprintf(buf, sizeof buf, "\n\t# bb = %zd, bbidx = %zd, line=%d",
                      j, i, fn->cfg->bb[j]->nl[i]->line);
-            isel(&is, fn->cfg->bb[j]->nl[i]);
             g(&is, Ilbl, locstrlbl(buf), NULL);
+            isel(&is, fn->cfg->bb[j]->nl[i]);
         }
     }
     is.curbb = is.bb[is.nbb - 1];