pike.git/
src/
docode.c
Branch:
Tag:
Non-build tags
All tags
No tags
2008-08-28
2008-08-28 15:13:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>
1493c5f50cd9caeaa5fc83fba277d74ff16a036e (
13
lines) (+
12
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added modify_stack_depth().
Rev: src/docode.c:1.204
Rev: src/docode.h:1.21
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: docode.c,v 1.
203
2008/
07
/
14
21
:
39
:
20
grubba Exp $
+
|| $Id: docode.c,v 1.
204
2008/
08
/
28
15
:
13
:
19
grubba Exp $
*/ #include "global.h"
247:
return lbl; }
+
void modify_stack_depth(int delta)
+
{
+
current_stack_depth += delta;
+
#ifdef PIKE_DEBUG
+
if (current_stack_depth < 0) {
+
Pike_fatal("Popped out of virtual stack.\n");
+
}
+
#endif
+
}
+
void do_pop(int x) { struct compilation *c = THIS_COMPILATION;