Branch: Tag:

2008-04-26

2008-04-26 14:27:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

The global svalue stack used_modules is no more.
Moved used_modules to struct pike_compilation.
Got rid of the old struct pike_compilation fields used_modules_save and num_used_modules_save.

Rev: src/pike_compiler.h:1.8
Rev: src/program.c:1.677

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_compiler.h,v 1.7 2008/04/25 13:46:30 grubba Exp $ + || $Id: pike_compiler.h,v 1.8 2008/04/26 14:27:08 grubba Exp $   */      #ifndef PIKE_COMPILER_H
26:    struct lex lex;    int compilation_inherit; /* Inherit in supporter->self containing    * compilation_program. */ +  +  dynamic_buffer used_modules; /* Stack of svalues with imported +  * modules. */ +  INT32 num_used_modules; /* Number of entries on the stack. */ +     int save_depth;    int saved_threads_disabled; -  dynamic_buffer used_modules_save; -  INT32 num_used_modules_save; +     struct mapping *resolve_cache_save;       struct svalue default_module;