Branch: Tag:

2003-04-27

2003-04-27 17:52:42 by Martin Stjernholm <mast@lysator.liu.se>

Use stack_pop_keep_top and stack_pop_2_elems_keep_top where possible.

Rev: src/builtin_functions.c:1.488
Rev: src/interpret_functions.h:1.150
Rev: src/iterators.cmod:1.40
Rev: src/modules/files/stat.c:1.28
Rev: src/opcodes.c:1.144
Rev: src/operators.c:1.176

2:   || 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: opcodes.c,v 1.143 2003/03/14 15:50:45 grubba Exp $ + || $Id: opcodes.c,v 1.144 2003/04/27 17:52:42 mast Exp $   */      #include "global.h"
30:      #define sp Pike_sp    - RCSID("$Id: opcodes.c,v 1.143 2003/03/14 15:50:45 grubba Exp $"); + RCSID("$Id: opcodes.c,v 1.144 2003/04/27 17:52:42 mast Exp $");      void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind)   {
585:    ref_push_object(((struct pike_trampoline *)    (Pike_sp[-1].u.object->storage))->    frame->current_object); -  stack_pop_n_elems_keep_top(1); +  stack_pop_keep_top();    } else {    Pike_sp[-1].type = T_OBJECT;    }