pike.git/
src/
interpret_functions.h
Branch:
Tag:
Non-build tags
All tags
No tags
2001-01-14
2001-01-14 20:05:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>
77fc8c3de60e4b6234541e88f2db7ea94f5a45ed (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Oops, use is_lt() since is_ge() doesn't exist.
Rev: src/interpret_functions.h:1.41
1:
/*
-
* $Id: interpret_functions.h,v 1.
40
2001/01/14 20:
02
:
42
grubba Exp $
+
* $Id: interpret_functions.h,v 1.
41
2001/01/14 20:
05
:
26
grubba Exp $
* * Opcode definitions for the interpreter. */
935:
*/ OPCODE0_JUMP(F_LOOP, "loop") /* loopcnt */ {
-
/* Use
ge
and 1 to be able to reuse the 1 for the subtraction. */
+
/* Use
>=
and 1 to be able to reuse the 1 for the subtraction. */
push_int(1);
-
if (is_
ge
(sp-2, sp-1)) {
+
if (
!
is_
lt
(sp-2, sp-1)) {
o_subtract(); DOJUMP(); } else {