fix argument order bug for float

R=rsc
http://go/go-review/1025006
This commit is contained in:
Kai Backman 2009-11-06 13:51:17 -08:00
parent de663b2d6b
commit fd7d803535

View File

@ -436,8 +436,7 @@ flt2: // binary
} else { } else {
cgen(nr, &f0); cgen(nr, &f0);
regalloc(&f1, n->type, N); regalloc(&f1, n->type, N);
gmove(&f0, &f1); cgen(nl, &f1);
cgen(nl, &f0);
gins(optoas(n->op, n->type), &f0, &f1); gins(optoas(n->op, n->type), &f0, &f1);
} }
gmove(&f1, res); gmove(&f1, res);