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.182 2004/12/18 22:24:15 grubba Exp $ + || $Id: interpret_functions.h,v 1.183 2004/12/19 16:16:55 grubba Exp $   */      /*    * Opcode definitions for the interpreter.    */      #include "global.h"      #undef CJUMP   #undef AUTO_BIGNUM_LOOP_TEST
pike.git/src/interpret_functions.h:2513:    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 (loc.o->prog) { +  if (loc.o->prog && arg2) { +  /* FIXME: Might want to be able refer to the non overloaded object +  * (ie arg2 == 0) in the future. +  * /grubba 2004-12-19 +  */    ref_push_object_inherit(loc.o,    (loc.inherit - loc.o->prog->inherits) + arg2);    } else { -  +  /* Destructed or top-level. */    ref_push_object(loc.o);    }    print_return_value();   });      /*   #undef PROG_COUNTER   */