pike.git / src / interpret_functions.h

version» Context lines:

pike.git/src/interpret_functions.h:1:   /* -  * $Id: interpret_functions.h,v 1.10 2000/04/20 02:41:44 hubbe Exp $ +  * $Id: interpret_functions.h,v 1.11 2000/04/20 11:12:31 grubba 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:250:    break;      OPCODE2(F_2_LOCALS, "2 locals")    assign_svalue_no_free(Pike_sp++, Pike_fp->locals + arg1);    print_return_value();    assign_svalue_no_free(Pike_sp++, Pike_fp->locals + arg2);    print_return_value();   BREAK;      OPCODE2(F_LOCAL_2_LOCAL, "local = local") -  assign_svalue(Pike_fp->locals+arg1, Pike_fp->locals+arg2); +  assign_svalue(Pike_fp->locals + arg1, Pike_fp->locals + arg2);   BREAK;    - OPCODE2(F_LOCAL_2_GLOBAL, "global=local;") + OPCODE2(F_LOCAL_2_GLOBAL, "global = local")   {    INT32 tmp = arg1 + Pike_fp->context.identifier_level;    struct identifier *i;       if(!Pike_fp->current_object->prog)    error("Cannot access global variables in destructed object.\n");       i = ID_FROM_INT(Pike_fp->current_object->prog, tmp);    if(!IDENTIFIER_IS_VARIABLE(i->identifier_flags))    error("Cannot assign functions or constants.\n");
pike.git/src/interpret_functions.h:276:    assign_svalue((struct svalue *)GLOBAL_FROM_INT(tmp),    Pike_fp->locals + arg2);    }else{    assign_to_short_svalue((union anything *)GLOBAL_FROM_INT(tmp),    i->run_time_type,    Pike_fp->locals + arg2);    }   }   BREAK;    - OPCODE2(F_GLOBAL_2_LOCAL,"global = local") + OPCODE2(F_GLOBAL_2_LOCAL,"local = global")   { -  INT32 tmp=arg1 + Pike_fp->context.identifier_level; +  INT32 tmp = arg1 + Pike_fp->context.identifier_level;    free_svalue(Pike_fp->locals + arg2);    low_object_index_no_free(Pike_fp->locals + arg2,    Pike_fp->current_object,    tmp);   }   BREAK;      OPCODE1(F_LOCAL_LVALUE, "& local")    Pike_sp[0].type = T_LVALUE;    Pike_sp[0].u.lval = Pike_fp->locals + arg1;