pike.git/
src/
operators.c
Branch:
Tag:
Non-build tags
All tags
No tags
2008-03-29
2008-03-29 02:04:40 by Martin Stjernholm <mast@lysator.liu.se>
0c21e5d061078c7f7c12d025420cc3ce66e3c053 (
7
lines) (+
6
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
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; }