pike.git / src / main.c

version» Context lines:

pike.git/src/main.c:1:   /*   || 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: main.c,v 1.184 2003/11/14 04:45:40 mast Exp $ + || $Id: main.c,v 1.185 2003/11/14 10:13:39 mast Exp $   */      #include "global.h" - RCSID("$Id: main.c,v 1.184 2003/11/14 04:45:40 mast Exp $"); + RCSID("$Id: main.c,v 1.185 2003/11/14 10:13:39 mast Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"   #include "object.h"   #include "language.h"   #include "lex.h"   #include "pike_types.h"   #include "builtin_functions.h"   #include "array.h"   #include "stralloc.h"
pike.git/src/main.c:30:   #include "cpp.h"   #include "main.h"   #include "operators.h"   #include "rbtree.h"   #include "security.h"   #include "constants.h"   #include "version.h"   #include "program.h"   #include "pike_rusage.h"   #include "module_support.h" + #include "opcodes.h"      #ifdef AUTO_BIGNUM   #include "bignum.h"   #endif      #if defined(__linux__) && defined(HAVE_DLOPEN) && defined(HAVE_DLFCN_H)   #include <dlfcn.h>   #endif      #include "las.h"
pike.git/src/main.c:692:    init_shared_string_table();       TRACE((stderr, "Init interpreter...\n"));       init_interpreter();       TRACE((stderr, "Init types...\n"));       init_types();    -  TRACE((stderr, "Init lexer...\n")); +  TRACE((stderr, "Init opcodes...\n"));    -  init_lex(); +  init_opcodes();       TRACE((stderr, "Init programs...\n"));       init_program();       TRACE((stderr, "Init objects...\n"));       init_object();       TRACE((stderr, "Init modules...\n"));
pike.git/src/main.c:807: Inside #if defined(PROFILING)
   {    int q;    for(q=0;q<(long)NELEM(samples);q++)    if(samples[q])    fprintf(stderr,"STACK WAS %4d Kb %12u times\n",q-1,samples[q]);    }   #endif      #ifdef PIKE_DEBUG    /* For profiling */ -  exit_lex(); +  exit_opcodes();   #endif      #ifdef INTERNAL_PROFILING    fprintf (stderr, "Evaluator callback calls: %lu\n", evaluator_callback_calls);   #ifdef PIKE_THREADS    fprintf (stderr, "Thread yields: %lu\n", thread_yields);   #endif    fprintf (stderr, "Main thread summary:\n");    debug_print_rusage (stderr);   #endif