Branch: Tag:

2002-05-10

2002-05-10 23:59:27 by Martin Nilsson <mani@lysator.liu.se>

sp -> Pike_sp

Rev: src/array.c:1.125
Rev: src/builtin_functions.c:1.427
Rev: src/dynamic_load.c:1.63
Rev: src/gc.c:1.181
Rev: src/interpret_functions.h:1.102
Rev: src/language.yacc:1.280
Rev: src/las.c:1.286
Rev: src/mapping.c:1.147
Rev: src/multiset.c:1.47
Rev: src/pike_search.c:1.8
Rev: src/post_modules/GL/gen.pike:1.15
Rev: src/post_modules/GL/top.c:1.15
Rev: src/post_modules/GLUT/gen.pike:1.2
Rev: src/stralloc.c:1.141

5:   \*/   /**/   #include "global.h" - RCSID("$Id: mapping.c,v 1.146 2002/01/16 02:54:14 nilsson Exp $"); + RCSID("$Id: mapping.c,v 1.147 2002/05/10 23:52:34 nilsson Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"
1806:       m=allocate_mapping(MAP_SLOTS(args / 2));    -  for(e=-args;e<0;e+=2) mapping_insert(m, sp+e, sp+e+1); +  for(e=-args;e<0;e+=2) mapping_insert(m, Pike_sp+e, Pike_sp+e+1);    pop_n_elems(args);   #ifdef PIKE_DEBUG    if(d_flag)
1859:    add_ref(md);    NEW_MAPPING_LOOP(md)    { -  copy_svalues_recursively_no_free(sp,&k->ind, 1, &doing); -  sp++; -  copy_svalues_recursively_no_free(sp,&k->val, 1, &doing); -  sp++; +  copy_svalues_recursively_no_free(Pike_sp,&k->ind, 1, &doing); +  Pike_sp++; +  copy_svalues_recursively_no_free(Pike_sp,&k->val, 1, &doing); +  Pike_sp++;    -  mapping_insert(ret, sp-2, sp-1); +  mapping_insert(ret, Pike_sp-2, Pike_sp-1);    pop_n_elems(2);    }    md->valrefs--;