[5678vq]c: fix .safe node type for *FUNC() = *FUNC() sugen

This commit is contained in:
cinap_lenrek 2019-05-01 08:55:24 +02:00
parent aa52d3b13d
commit 97a2f14b1c
6 changed files with 6 additions and 6 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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);

View file

@ -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);

View file

@ -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);

View file

@ -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);