diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-08-24 17:36:31 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-15 23:01:32 -0400 |
commit | 0f0290c1db732716fd068c1ba24cf3fe4b530392 (patch) | |
tree | b663363db399b08a412a6e2a2ef3c5a60dd5cbf4 | |
parent | 7594f57a3ee4397ab4be078ba65f371daeb15afd (diff) | |
download | roux-0f0290c1db732716fd068c1ba24cf3fe4b530392.tar.gz |
the wide bit of OAddr matters!
-rw-r--r-- | lisc/isel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisc/isel.c b/lisc/isel.c index cceb128..a310d58 100644 --- 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]; |