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.401 2008/05/12 17:20:20 grubba Exp $ + || $Id: interpret.c,v 1.402 2008/05/29 10:11:14 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:373:    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); +  object_index_no_free(to, lval->u.object, lval->subtype, lval+1);    break;       case T_ARRAY:    simple_array_index_no_free(to, lval->u.array, lval+1);    break;       case T_MAPPING:    mapping_index_no_free(to, lval->u.mapping, lval+1);    break;   
pike.git/src/interpret.c:442:    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); +  object_set_index(lval->u.object, lval->subtype, lval+1, from);    break;       case T_ARRAY:    simple_set_index(lval->u.array, lval+1, from);    break;       case T_MAPPING:    mapping_insert(lval->u.mapping, lval+1, from);    break;   
pike.git/src/interpret.c:494:    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); +  return object_get_item_ptr(lval->u.object, lval->subtype, 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;       default: