diff options
| -rw-r--r-- | sys/src/cmd/5c/cgen.c | 2 | ||||
| -rw-r--r-- | sys/src/cmd/6c/cgen.c | 2 | ||||
| -rw-r--r-- | sys/src/cmd/7c/cgen.c | 2 | ||||
| -rw-r--r-- | sys/src/cmd/8c/cgen.c | 2 | ||||
| -rw-r--r-- | sys/src/cmd/qc/cgen.c | 2 | ||||
| -rw-r--r-- | sys/src/cmd/vc/cgen.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/sys/src/cmd/5c/cgen.c b/sys/src/cmd/5c/cgen.c index c968a48f7..05d1dd821 100644 --- a/sys/src/cmd/5c/cgen.c +++ b/sys/src/cmd/5c/cgen.c @@ -1407,7 +1407,7 @@ copy: nn->type = types[TLONG]; regialloc(&nod1, nn, Z); lcgen(nn, &nod1); - regsalloc(&nod2, nn); + regsalloc(&nod2, &nod1); nn->type = t; gopcode(OAS, &nod1, Z, &nod2); diff --git a/sys/src/cmd/6c/cgen.c b/sys/src/cmd/6c/cgen.c index add70f5f9..b2d54d577 100644 --- a/sys/src/cmd/6c/cgen.c +++ b/sys/src/cmd/6c/cgen.c @@ -1599,7 +1599,7 @@ copy: nn->type = types[TLONG]; regialloc(&nod1, nn, Z); lcgen(nn, &nod1); - regsalloc(&nod2, nn); + regsalloc(&nod2, &nod1); nn->type = t; gins(AMOVQ, &nod1, &nod2); diff --git a/sys/src/cmd/7c/cgen.c b/sys/src/cmd/7c/cgen.c index bfef2fd4e..c8e1cbe7f 100644 --- a/sys/src/cmd/7c/cgen.c +++ b/sys/src/cmd/7c/cgen.c @@ -1068,7 +1068,7 @@ copy: nn->type = types[TLONG]; regialloc(&nod1, nn, Z); lcgen(nn, &nod1); - regsalloc(&nod2, nn); + regsalloc(&nod2, &nod1); nn->type = t; gopcode(OAS, &nod1, Z, &nod2); diff --git a/sys/src/cmd/8c/cgen.c b/sys/src/cmd/8c/cgen.c index 070155fb7..cd0288bba 100644 --- a/sys/src/cmd/8c/cgen.c +++ b/sys/src/cmd/8c/cgen.c @@ -1669,7 +1669,7 @@ copy: nn->type = types[TLONG]; regialloc(&nod1, nn, Z); lcgen(nn, &nod1); - regsalloc(&nod2, nn); + regsalloc(&nod2, &nod1); nn->type = t; gins(AMOVL, &nod1, &nod2); diff --git a/sys/src/cmd/qc/cgen.c b/sys/src/cmd/qc/cgen.c index b375ff6ce..104a36473 100644 --- a/sys/src/cmd/qc/cgen.c +++ b/sys/src/cmd/qc/cgen.c @@ -1016,7 +1016,7 @@ copy: nn->type = types[TLONG]; regialloc(&nod1, nn, Z); lcgen(nn, &nod1); - regsalloc(&nod2, nn); + regsalloc(&nod2, &nod1); nn->type = t; gmove(&nod1, &nod2); diff --git a/sys/src/cmd/vc/cgen.c b/sys/src/cmd/vc/cgen.c index 425134a10..fb43c55e6 100644 --- a/sys/src/cmd/vc/cgen.c +++ b/sys/src/cmd/vc/cgen.c @@ -1077,7 +1077,7 @@ copy: nn->type = types[TLONG]; regialloc(&nod1, nn, Z); lcgen(nn, &nod1); - regsalloc(&nod2, nn); + regsalloc(&nod2, &nod1); nn->type = t; gopcode(OAS, &nod1, Z, &nod2); |
