pike.git / src / opcodes.c

version» Context lines:

pike.git/src/opcodes.c:19:   #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.99 2001/02/19 23:50:01 grubba Exp $"); + RCSID("$Id: opcodes.c,v 1.100 2001/02/20 13:02:11 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:637:    }    }   }         PMOD_EXPORT void f_cast(void)   {   #ifdef PIKE_DEBUG    struct svalue *save_sp=sp;    if(sp[-2].type != T_TYPE) -  fatal("Cast expression destroyed stack or left droppings!\n"); +  fatal("Cast expression destroyed stack or left droppings! (Type:%d)\n", +  sp[-2].type);   #endif    o_cast(sp[-2].u.type,    compile_type_to_runtime_type(sp[-2].u.string));   #ifdef PIKE_DEBUG    if(save_sp != sp)    fatal("Internal error: o_cast() left droppings on stack.\n");   #endif    free_svalue(sp-2);    sp[-2]=sp[-1];    sp--;