commit 0f0290c1db732716fd068c1ba24cf3fe4b530392
parent 7594f57a3ee4397ab4be078ba65f371daeb15afd
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Mon, 24 Aug 2015 17:36:31 -0400
the wide bit of OAddr matters!
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisc/isel.c b/lisc/isel.c
@@ -243,7 +243,7 @@ Emit:
for (n=0; n<2; n++)
if (cpy[n].s)
- emit(OAddr, 0, cpy[n].r, SLOT(cpy[n].s), R);
+ emit(OAddr, 1, cpy[n].r, SLOT(cpy[n].s), R);
}
static Ins *
@@ -426,7 +426,7 @@ isel(Fn *fn)
s = rslot(p->arg[a], fn);
if (s) {
p->arg[a] = newtmp(fn);
- emit(OAddr, 0, p->arg[a], SLOT(s), R);
+ emit(OAddr, 1, p->arg[a], SLOT(s), R);
}
}
curi = &insb[NIns];