Branch: Tag:

2004-05-29

2004-05-29 18:13:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Removed the field "name" from struct program_constant since it was only used for debug (the real constant name is in the corresponding struct identifier).
Replaced it with an offset to be used to locate the initialization function.

Rev: src/encode.c:1.216
Rev: src/gc.c:1.255
Rev: src/las.c:1.346
Rev: src/program.c:1.564
Rev: src/program.h:1.205

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: program.h,v 1.204 2004/05/23 00:45:11 nilsson Exp $ + || $Id: program.h,v 1.205 2004/05/29 18:13:42 grubba Exp $   */      #ifndef PROGRAM_H
246:    */   struct program_constant   { -  struct svalue sval; -  struct pike_string *name; +  struct svalue sval; /* Value. */ +  ptrdiff_t offset; /* Offset in identifiers to initialization function. */   };      /*