pike.git / src / interpret_functions.h

version» Context lines:

pike.git/src/interpret_functions.h: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: interpret_functions.h,v 1.206 2008/05/30 19:40:04 grubba Exp $ + || $Id: interpret_functions.h,v 1.207 2008/05/31 10:54:29 grubba Exp $   */      /*    * Opcode definitions for the interpreter.    */      #include "global.h"      #undef CJUMP   #undef AUTO_BIGNUM_LOOP_TEST
pike.git/src/interpret_functions.h:2662:    loc.parent_identifier = Pike_fp->fun;    if (loc.o->prog)    loc.inherit = INHERIT_FROM_INT(loc.o->prog, loc.parent_identifier);    find_external_context(&loc, arg1);       DO_IF_DEBUG({    TRACE((5,"- Identifier=%d Offset=%d\n",    arg1,    loc.inherit->identifier_level));    }); -  if (arg2 < 0) { +  if ((arg2 < 0) || !loc.o->prog) {    ref_push_object(loc.o);    } else {    ref_push_object_inherit(loc.o,    (loc.inherit - loc.o->prog->inherits) + arg2);    }    print_return_value();   });      /*   #undef PROG_COUNTER   */