shithub: mc

Download patch

ref: e38fc0611c203ddddb93adcf372e296de157130f
parent: 1826bfd454a41be808611d158192da835b637952
author: Ori Bernstein <[email protected]>
date: Wed Jun 6 21:05:57 EDT 2012

Fix some mis-commit in the loop test.

--- a/8/isel.c
+++ b/8/isel.c
@@ -666,6 +666,8 @@
                 fprintf(fd, "(%s", regnames[l->mem.base]);
             if (l->mem.idx)
                 fprintf(fd, ",%s", regnames[l->mem.idx]);
+            if (l->mem.scale)
+                fprintf(fd, ",%d", l->mem.scale);
             if (l->mem.base)
                 fprintf(fd, ")");
             break;
--- a/test/loop.myr
+++ b/test/loop.myr
@@ -1,7 +1,6 @@
 const main = {
 	var i
 	var n
-	i = f
 
 	n = 0
 	for i = 0; i < 10; ++i