1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:44:39 -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 = *nodconst(0);
b->right->type = n->type; b->right->type = n->type;
b->type = types[TLONG]; b->type = types[TLONG];
cgen(b, Z); n = b;
return 0;
} }
bool64(n); bool64(n);
boolgen(n, 1, Z); boolgen(n, 1, Z);