pike.git / src / interpret_functions.h

version» Context lines:

pike.git/src/interpret_functions.h:364:   });      OPCODE2_TAIL(F_MARK_AND_EXTERNAL, "mark & external", I_UPDATE_SP|I_UPDATE_M_SP, {    *(Pike_mark_sp++)=Pike_sp;       OPCODE2(F_EXTERNAL,"external", I_UPDATE_SP, {    LOCAL_VAR(struct external_variable_context loc);       loc.o=Pike_fp->current_object;    loc.parent_identifier=Pike_fp->fun; -  if (loc.o->prog) -  loc.inherit=INHERIT_FROM_INT(loc.o->prog, loc.parent_identifier); +  loc.inherit=Pike_fp->context;    find_external_context(&loc, arg2);       DO_IF_DEBUG({    TRACE((5,"- Identifier=%d Offset=%d\n",    arg1,    loc.inherit->identifier_level));    });       if (arg1 == IDREF_MAGIC_THIS)    /* Special treatment to allow doing Foo::this on destructed
pike.git/src/interpret_functions.h:393:    }    print_return_value();    });   });      OPCODE2(F_EXTERNAL_LVALUE, "& external", I_UPDATE_SP, {    LOCAL_VAR(struct external_variable_context loc);       loc.o=Pike_fp->current_object;    loc.parent_identifier=Pike_fp->fun; -  if (loc.o->prog) -  loc.inherit=INHERIT_FROM_INT(loc.o->prog, loc.parent_identifier); +  loc.inherit=Pike_fp->context;    find_external_context(&loc, arg2);       if (!loc.o->prog)    Pike_error ("Cannot access variable in destructed parent object.\n");       DO_IF_DEBUG({    TRACE((5,"- Identifier=%d Offset=%d\n",    arg1,    loc.inherit->identifier_level));    });
pike.git/src/interpret_functions.h:2750:      OPCODE0(F_DUP,"dup",I_UPDATE_SP,{    stack_dup();   });      OPCODE2(F_THIS, "this", I_UPDATE_SP, {    LOCAL_VAR(struct external_variable_context loc);       loc.o = Pike_fp->current_object;    loc.parent_identifier = Pike_fp->fun; -  if (loc.o->prog) -  loc.inherit = INHERIT_FROM_INT(loc.o->prog, loc.parent_identifier); +  loc.inherit = Pike_fp->context;    find_external_context(&loc, arg1);       DO_IF_DEBUG({    TRACE((5,"- Identifier=%d Offset=%d\n",    arg1,    loc.inherit->identifier_level));    });    if ((arg2 < 0) || !loc.o->prog) {    ref_push_object(loc.o);    } else {