pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: interpret.c,v 1.359 2004/11/12 13:13:30 grubba Exp $ + || $Id: interpret.c,v 1.360 2004/12/22 18:46:15 grubba Exp $   */      #include "global.h"   #include "interpret.h"   #include "object.h"   #include "program.h"   #include "svalue.h"   #include "array.h"   #include "mapping.h"   #include "pike_error.h"
pike.git/src/interpret.c:342:    UNSET_ONERROR(err);    break;    }       case T_SVALUE_PTR:    dmalloc_touch_svalue(lval->u.lval);    assign_svalue_no_free(to, lval->u.lval);    break;       case T_OBJECT: +  /* FIXME: Object subtypes! */    if (lval[1].type == T_OBJ_INDEX)    low_object_index_no_free (to, lval->u.object, lval[1].u.identifier);    else    object_index_no_free(to, lval->u.object, lval+1);    break;       case T_ARRAY:    simple_array_index_no_free(to, lval->u.array, lval+1);    break;   
pike.git/src/interpret.c:410:    }    break;       case T_SVALUE_PTR:    dmalloc_touch_svalue(from);    dmalloc_touch_svalue(lval->u.lval);    assign_svalue(lval->u.lval,from);    break;       case T_OBJECT: +  /* FIXME: Object subtypes! */    if (lval[1].type == T_OBJ_INDEX)    object_low_set_index (lval->u.object, lval[1].u.identifier, from);    else    object_set_index(lval->u.object, lval+1, from);    break;       case T_ARRAY:    simple_set_index(lval->u.array, lval+1, from);    break;   
pike.git/src/interpret.c:458:    {    case T_ARRAY_LVALUE:    return 0;       case T_SVALUE_PTR:    dmalloc_touch_svalue(lval->u.lval);    if(lval->u.lval->type == t) return & ( lval->u.lval->u );    return 0;       case T_OBJECT: +  /* FIXME: What about object subtypes? */    return object_get_item_ptr(lval->u.object,lval+1,t);       case T_ARRAY:    return array_get_item_ptr(lval->u.array,lval+1,t);       case T_MAPPING:    return mapping_get_item_ptr(lval->u.mapping,lval+1,t);       case T_MULTISET: return 0;   
pike.git/src/interpret.c:1744:    {    dynamic_buffer save_buf;    init_buf(&save_buf);    describe_svalue(s,0,0);    do_trace_call(args, &save_buf);    }    push_object(clone_object(s->u.program,args));    break;       case T_OBJECT: +  /* FIXME: Object subtypes! */    o=s->u.object;    if(o->prog == pike_trampoline_program)    {    fun=((struct pike_trampoline *)(o->storage))->func;    scope=((struct pike_trampoline *)(o->storage))->frame;    o=scope->current_object;    goto apply_low_with_scope;    }    fun=LFUN_CALL;    type=APPLY_SVALUE;