diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-05-01 08:55:24 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-05-01 08:55:24 +0200 |
commit | 97a2f14b1c7960713ba2f7b284a6055cda8e101e (patch) | |
tree | 9d066e353b3b54d4b3b0dc8f9708af01956df5ad /sys/src/cmd/5c | |
parent | aa52d3b13d71bd4b068ae00b2d6f0f75647a5d7c (diff) |
[5678vq]c: fix .safe node type for *FUNC() = *FUNC() sugen
Diffstat (limited to 'sys/src/cmd/5c')
-rw-r--r-- | sys/src/cmd/5c/cgen.c | 2 |
1 files changed, 1 insertions, 1 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); |