MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / codesJ

Function codesJ

lib/lua/src/lcode.c:429–434  ·  view source on GitHub ↗

** Format and emit an 'isJ' instruction. */

Source from the content-addressed store, hash-verified

427** Format and emit an 'isJ' instruction.
428*/
429static int codesJ (FuncState *fs, OpCode o, int sj, int k) {
430 unsigned int j = sj + OFFSET_sJ;
431 lua_assert(getOpMode(o) == isJ);
432 lua_assert(j <= MAXARG_sJ && (k & ~1) == 0);
433 return luaK_code(fs, CREATE_sJ(o, j, k));
434}
435
436
437/*

Callers 1

luaK_jumpFunction · 0.85

Calls 1

luaK_codeFunction · 0.85

Tested by

no test coverage detected