Branch: Tag:

2008-03-29

2008-03-29 02:04:40 by Martin Stjernholm <mast@lysator.liu.se>

Fixed some mark_free_svalue's.

Rev: src/operators.c:1.229

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: operators.c,v 1.228 2008/03/22 13:50:23 grubba Exp $ + || $Id: operators.c,v 1.229 2008/03/29 02:04:40 mast Exp $   */      #include "global.h"
4504:    switch (bound_types & (RANGE_LOW_FROM_BEG|RANGE_LOW_FROM_END|RANGE_LOW_OPEN)) {    case RANGE_LOW_FROM_BEG:    move_svalue (sp++, low); +  mark_free_svalue (low);    break;    case RANGE_LOW_OPEN:    push_int (0);
4511:    default:    push_svalue (&end_pos);    move_svalue (sp++, low); +  mark_free_svalue (low);    o_subtract();    break;    }
4518:    switch (bound_types & (RANGE_HIGH_FROM_BEG|RANGE_HIGH_FROM_END|RANGE_HIGH_OPEN)) {    case RANGE_HIGH_FROM_BEG:    move_svalue (sp++, high); +  mark_free_svalue (high);    break;    case RANGE_HIGH_OPEN:    push_int (MAX_INT_TYPE);
4525:    default:    push_svalue (&end_pos);    move_svalue (sp++, high); +  mark_free_svalue (high);    o_subtract();    break;    }