get rid of static/dynamic array distinction
R=r
OCL=14634
CL=14634
diff --git a/src/cmd/gc/go.h b/src/cmd/gc/go.h
index 02e1581..4237278 100644
--- a/src/cmd/gc/go.h
+++ b/src/cmd/gc/go.h
@@ -140,8 +140,7 @@
vlong argwid;
// TARRAY
- int32 bound;
- Node* dbound;
+ int32 bound; // negative is dynamic array
};
#define T ((Type*)0)
@@ -303,7 +302,7 @@
TFUNC,
TARRAY,
- TDARRAY,
+ T_old_DARRAY,
TSTRUCT,
TCHAN,
TMAP,
@@ -558,6 +557,8 @@
Type* aindex(Node*, Type*);
int isnil(Node*);
int isptrto(Type*, int);
+int isptrarray(Type*);
+int isptrdarray(Type*);
int isinter(Type*);
int isbytearray(Type*);
int eqtype(Type*, Type*, int);