1
0
mirror of https://github.com/golang/go synced 2024-11-21 15:34:45 -07:00

cc: fix vlong condition

Fixes #1032.

R=ken2
CC=golang-dev
https://golang.org/cl/4025043
This commit is contained in:
Russ Cox 2011-01-18 16:28:21 -05:00
parent b0543ddd8a
commit 3e0adc9ffb

View File

@ -586,8 +586,7 @@ bcomplex(Node *n, Node *c)
*b->right = *nodconst(0);
b->right->type = n->type;
b->type = types[TLONG];
cgen(b, Z);
return 0;
n = b;
}
bool64(n);
boolgen(n, 1, Z);