pike.git / src / opcodes.c

version» Context lines:

pike.git/src/opcodes.c:20:   #include "pike_types.h"   #include "pike_memory.h"   #include "fd_control.h"   #include "cyclic.h"   #include "builtin_functions.h"   #include "module_support.h"   #include "security.h"   #include "bignum.h"   #include "operators.h"    - RCSID("$Id: opcodes.c,v 1.112 2001/06/17 19:15:15 grubba Exp $"); + RCSID("$Id: opcodes.c,v 1.113 2001/07/13 11:26:40 grubba Exp $");      void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind)   {    INT32 i;      #ifdef PIKE_SECURITY    if(what->type <= MAX_COMPLEX)    if(!CHECK_DATA_SECURITY(what->u.array, SECURITY_BIT_INDEX))    Pike_error("Index permission denied.\n");   #endif
pike.git/src/opcodes.c:511:    break;    }       case T_OBJECT:    switch(sp[-1].type)    {    case T_STRING:    if(Pike_fp->pc)    {    INT32 lineno; -  push_text(get_line(Pike_fp->pc, Pike_fp->context.prog, &lineno)); +  push_string(get_line(Pike_fp->pc, +  Pike_fp->context.prog, +  &lineno));    }else{    push_int(0);    }    APPLY_MASTER("cast_to_object",2);    return;       case T_FUNCTION:    if (Pike_sp[-1].subtype == FUNCTION_BUILTIN) {    Pike_error("Cannot cast builtin functions to object.\n");    } else {
pike.git/src/opcodes.c:538:    }    break;       case T_PROGRAM:    switch(sp[-1].type)    {    case T_STRING:    if(Pike_fp->pc)    {    INT32 lineno; -  push_text(get_line(Pike_fp->pc, Pike_fp->context.prog, &lineno)); +  push_string(get_line(Pike_fp->pc, Pike_fp->context.prog, &lineno));    }else{    push_int(0);    }    APPLY_MASTER("cast_to_program",2);    return;       case T_FUNCTION:    {    struct program *p=program_from_function(sp-1);    if(p)