pike.git / src / program.h

version» Context lines:

pike.git/src/program.h:1089:      /**    * Look up the given lfun in the given program and returns the    * function number it has in the program, or -1 if not found.    */   static inline int PIKE_UNUSED_ATTRIBUTE FIND_LFUN(struct program * p, enum LFUN lfun) {   #ifdef PIKE_DEBUG    dmalloc_touch(struct program*, p);    if ((int)lfun < 0) return find_lfun_fatal(p, lfun);   #endif -  if (p->flags & PROGRAM_FIXED && lfun < NUM_LFUNS) return p->lfuns[lfun]; +  if (p->flags & PROGRAM_FIXED && lfun < NUM_LFUNS) { +  return QUICK_FIND_LFUN(p, lfun); +  }    return low_find_lfun(p, lfun);   }         #ifndef PIKE_USE_MACHINE_CODE   #define make_program_executable(X)   #endif      #define ADD_FUNCTION(NAME, FUNC, TYPE, FLAGS) \    quick_add_function(NAME, CONSTANT_STRLEN(NAME), FUNC, TYPE,\