Render vreg movelists properly.
authorDavid Given <dg@cowlark.com>
Tue, 31 Jan 2017 21:58:13 +0000 (22:58 +0100)
committerDavid Given <dg@cowlark.com>
Tue, 31 Jan 2017 21:58:13 +0000 (22:58 +0100)
mach/proto/mcg/hop.c

index b14e093..0c0f88b 100644 (file)
@@ -364,8 +364,8 @@ static void appendheader(struct hop* hop)
     appendf(" VREGS:");
     for (i=0; i<hop->vregusage.count; i++)
     {
-        struct vreg* src = hop->vregusage.item[i].left;
-        struct vreg* dest = hop->vregusage.item[i].right;
+        struct vreg* src = actual(hop->vregusage.item[i].left);
+        struct vreg* dest = actual(hop->vregusage.item[i].right);
 
         appendf(" ");
         if (src)