pike.git / src / opcodes.c

version» Context lines:

pike.git/src/opcodes.c:14: Inside #if defined(INSTR_PROFILING)
     /*    * If you have a 64 bit machine and 15+ Gb memory, this    * routine should handle -p4 nicely. -Hubbe    * (-p3 only requires ~38Mb on a 32bit machine)    */      struct instr_counter   {    long runned; -  struct instr_counter* next[256]; +  struct instr_counter* next[MAX_SUPPORTED_INSTR + 1];   };    - int last_instruction[256]; + int last_instruction[MAX_SUPPORTED_INSTR+1];   struct instr_counter *instr_counter_storage;      struct instr_counter *init_instr_storage_pointers(int depth)   {    int e;    struct instr_counter *d;    if(!depth) return 0;    d=ALLOC_STRUCT(instr_counter);    if(!d)    {