pike.git / src / interpret_functions.h

version» Context lines:

pike.git/src/interpret_functions.h:2565:    * since the first case is much simpler to test and    * is common, it should offer a speed improvement.    *    * /grubba 2002-11-14    *    * Also test if the function uses scoping. DO_RECUR() doesn't    * adjust fp->expendible which will make eg RETURN_LOCAL fail.    *    * /grubba 2003-03-25    */ -  if(((p != Pike_fp->context->prog) && +  if(((p != Pike_fp->context->prog) ||    (Pike_fp->context !=    &p->inherits[p->identifier_references[Pike_fp->context->identifier_level +    arg1].inherit_offset])) ||    (ID_FROM_INT(p, arg1+Pike_fp->context->identifier_level)->    identifier_flags & IDENTIFIER_SCOPE_USED))    {    PIKE_OPCODE_T *faddr;    ptrdiff_t num_locals;    ptrdiff_t args;