Branch: Tag:

2005-12-04

2005-12-04 19:23:55 by Martin Nilsson <mani@lysator.liu.se>

Cut 3k from binary size with smaller serialized int type.

Rev: src/pike_types.c:1.252
Rev: src/svalue.h:1.137

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: pike_types.c,v 1.251 2005/11/17 18:21:15 grubba Exp $ + || $Id: pike_types.c,v 1.252 2005/12/04 19:23:54 nilsson Exp $   */      #include "global.h"
4779:    return mk_type(T_INT,    (void *)(ptrdiff_t)extract_type_int(type_string+1),    (void *)(ptrdiff_t)extract_type_int(type_string+5), 0); +  +  case PIKE_T_INT_UNTYPED: +  *cont = type_string + 1; +  return mk_type(T_INT, +  (void *)(ptrdiff_t)0x80000000, +  (void *)(ptrdiff_t)0x7fffffff, 0); +     case T_OBJECT:    *cont = type_string + 6; /* 1 + sizeof(INT32) + 1 */    return mk_type(T_OBJECT, (void *)(ptrdiff_t)(type_string[1]),