pike.git / src / interpret_functions.h

version» Context lines:

pike.git/src/interpret_functions.h: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.    */      OPCODE0(F_UNDEFINED,"push UNDEFINED")    push_int(0);    Pike_sp[-1].subtype=NUMBER_UNDEFINED;   BREAK;      OPCODE0(F_CONST0, "push 0")
pike.git/src/interpret_functions.h:928:    * branch(l2)    * l1:    * sync_mark    * code    * pop_sync_mark    * l2:    * loop(l1)    */   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 {    pop_n_elems(2);    SKIPJUMP();    }   }   BREAK;       CASE(F_FOREACH) /* array, lvalue, X, i */