if (type instanceof CVectorType) {
if (type instanceof CVectorType || type instanceof CVectorTypeLow) {
    public static int getTypeSize(CType type) {        if (type.getTypeID() == CType.TID_VOID) return 0;        if (type.getTypeID() == CType.TID_BYTE) return 1;        if (type.getTypeID() == CType.TID_SHORT) return 2;        if (type.getTypeID() == CType.TID_CHAR) return 1;        if (type.getTypeID() == CType.TID_INT) return 4;        if (type.getTypeID() == CType.TID_LONG) return 4;        if (type.getTypeID() == CType.TID_FLOAT) return 4;        if (type.getTypeID() == CType.TID_DOUBLE) return 8;        if (type.getTypeID() == CType.TID_BOOLEAN) return 1;        if (type.getTypeID() == CType.TID_BIT) return 1;                if (type instanceof CVectorType) {            // KjcOptions.vectorize is a numeric value giving size of vector in bytes.            return KjcOptions.vectorize;        }        if (type.isArrayType()) {            CArrayType aty = (CArrayType)type;            JExpression[] dims = aty.getDims();            int numelts = 1;            for (int i = 0; i < dims.length; i++) {                assert dims[i] instanceof JIntLiteral : "Can not calculate indeger array dimension for" + dims[i].toString();                numelts *= ((JIntLiteral)dims[i]).intValue();            }            return numelts * getTypeSize(aty.getBaseType());        }                if (type.isClassType()) {            if (type instanceof CNullType) {                return 0;            }            if (type.toString().equals("java.lang.String")) {                return 4;  // return something, don't look at internals of String type.             }            // Assume class is something we defined: size is sum of size of fields.            // (not true of a builtin class)            int size = 0;            CClass c = ((CClassType)type).getCClass();            for (CField f : c.getRawFields().values()) {                size += getTypeSize(f.getType());            }            //System.err.println("Class type: ["+type+"] size: "+size);                    return size;        }        assert false : "DataEstimate: unknown type ["+type+" TID: "+type.getTypeID()+" stack_size: "+type.getSize()+"]";        return 0;    }