Lines Matching full:jump

113 ** may be a jump target between the current instruction and the
152 ** Gets the destination address of a jump instruction. Used to traverse
165 ** Fix jump instruction at position 'pc' to jump to 'dest'.
166 ** (Jump addresses are relative in Lua)
180 ** Concatenate jump-list 'l2' into jump-list 'l1'
197 ** Create a jump instruction and return its position, so its destination
220 ** Code a "conditional jump", that is, a test or comparison opcode
221 ** followed by a jump. Return jump position.
230 ** returns current 'pc' and marks it as a jump target (to avoid wrong
241 ** jump (that is, its condition), or the jump itself if it is
286 ** registers: tests producing values jump to 'vtarget' (and put their
287 ** values in 'reg'), other tests jump to 'dtarget'.
296 fixjump(fs, list, dtarget); /* jump to default target */ in patchlistaux()
303 ** Path all jumps in 'list' to jump to 'target'.
304 ** (The assert means that we cannot fix a jump to a forward address
314 int hr = luaK_getlabel(fs); /* mark "here" as a jump target */ in luaK_patchtohere()
778 ** (Expression still may have jump lists.)
832 ** (Expression still may have jump lists.)
887 ** (Expression still may have jump lists.)
898 luaK_getlabel(fs); /* those instructions may be jump targets */ in code_loadbool()
904 ** check whether list has any jump that do not produce a value
918 ** jump lists) is in register 'reg'.
926 luaK_concat(fs, &e->t, e->u.info); /* put this jump in 't' list */ in exp2reg()
935 /* jump around these booleans if 'e' is not a test */ in exp2reg()
973 to hold the jump values, because it is a local variable. in luaK_exp2anyreg()
1119 ** Emit instruction to jump if 'e' is 'cond' (that is, if 'cond'
1120 ** is true, code will jump if 'e' is true.) Return jump position.
1140 ** Emit code to go through if 'e' is true, jump otherwise.
1143 int pc; /* pc of new jump */ in luaK_goiftrue()
1147 negatecondition(fs, e); /* jump when it is false */ in luaK_goiftrue()
1148 pc = e->u.info; /* save jump position */ in luaK_goiftrue()
1156 pc = jumponcond(fs, e, 0); /* jump when false */ in luaK_goiftrue()
1160 luaK_concat(fs, &e->f, pc); /* insert new jump in false list */ in luaK_goiftrue()
1167 ** Emit code to go through if 'e' is false, jump otherwise.
1170 int pc; /* pc of new jump */ in luaK_goiffalse()
1174 pc = e->u.info; /* already jump if true */ in luaK_goiffalse()
1182 pc = jumponcond(fs, e, 1); /* jump if true */ in luaK_goiffalse()
1186 luaK_concat(fs, &e->t, pc); /* insert new jump in 't' list */ in luaK_goiffalse()
1835 ** return the final target of a jump (skipping jumps to jumps)