mirror of
https://github.com/golang/go
synced 2024-11-17 00:04:40 -07:00
len(fixed array)
SVN=128050
This commit is contained in:
parent
0ca551fc36
commit
4c5a165873
@ -613,3 +613,4 @@ void dumpobj(void);
|
||||
void dowidth(Type*);
|
||||
void argspace(long);
|
||||
Node* nodarg(Type*, int);
|
||||
void nodconst(Node*, Type*, vlong);
|
||||
|
@ -501,8 +501,11 @@ loop:
|
||||
default:
|
||||
goto badt;
|
||||
case TSTRING:
|
||||
break;
|
||||
case TMAP:
|
||||
case TDARRAY:
|
||||
break;
|
||||
case TARRAY:
|
||||
nodconst(n, types[TINT32], t->bound);
|
||||
break;
|
||||
}
|
||||
n->type = types[TINT32];
|
||||
|
Loading…
Reference in New Issue
Block a user