pike.git / src / interpret_functions.h

version» Context lines:

pike.git/src/interpret_functions.h:1:   /* -  * $Id: interpret_functions.h,v 1.21 2000/05/01 08:54:37 hubbe Exp $ +  * $Id: interpret_functions.h,v 1.22 2000/05/01 10:09:58 hubbe Exp $    *    * Opcode definitions for the interpreter.    */      OPCODE0(F_UNDEFINED,"push UNDEFINED")    push_int(0);    Pike_sp[-1].subtype=NUMBER_UNDEFINED;   BREAK;      OPCODE0(F_CONST0, "push 0")
pike.git/src/interpret_functions.h:1559:   /* Assume that the number of arguments is correct */   OPCODE1_JUMP(F_COND_RECUR,"recur if not overloaded")   {    int x,num_locals,args;    char *addr;       struct svalue *expendible=fp->expendible;    struct svalue *locals=fp->locals;    struct svalue *save_sp, **save_mark_sp;    +  /* FIXME: +  * this test should actually test if this function is +  * overloaded or not. Currently it only tests if +  * this context is inherited or not. +  */    if(fp->current_object->prog != fp->context.prog)    {    apply_low(Pike_fp->current_object,    arg1+Pike_fp->context.identifier_level,    Pike_sp - *--Pike_mark_sp);    pc+=sizeof(INT32);    }else{    fast_check_threads_etc(6);    check_c_stack(8192);    check_stack(256);