mirror of
https://github.com/golang/go
synced 2024-11-26 13:58:48 -07:00
initialization of
var a,b int; R=r OCL=16318 CL=16318
This commit is contained in:
parent
abb95518ab
commit
970d6a14c4
@ -896,11 +896,15 @@ cgen_as(Node *nl, Node *nr, int op)
|
||||
if(nl == N)
|
||||
return;
|
||||
|
||||
tl = nl->type;
|
||||
if(tl == T)
|
||||
return;
|
||||
|
||||
if(nr == N || isnil(nr)) {
|
||||
if(nl->op == OLIST) {
|
||||
cgen_as(nl->left, nr, op);
|
||||
cgen_as(nl->right, nr, op);
|
||||
return;
|
||||
}
|
||||
tl = nl->type;
|
||||
if(tl == T)
|
||||
return;
|
||||
if(isfat(tl)) {
|
||||
/* clear a fat object */
|
||||
if(debug['g'])
|
||||
@ -978,6 +982,10 @@ cgen_as(Node *nl, Node *nr, int op)
|
||||
ullmancalc(nr);
|
||||
}
|
||||
|
||||
tl = nl->type;
|
||||
if(tl == T)
|
||||
return;
|
||||
|
||||
cgen(nr, nl);
|
||||
|
||||
ret:
|
||||
|
Loading…
Reference in New Issue
Block a user