Пример #1
0
static int code_label (FuncState *fs, int A, int b, int jump) {
  luaK_getlabel(fs);  /* those instructions may be jump targets */
  return luaK_codeABC(fs, OP_LOADBOOL, A, b, jump);
}
Пример #2
0
void luaK_patchtohere (FuncState *fs, int list) {
  luaK_getlabel(fs);
  luaK_concat(fs, &fs->jpc, list);
}
Пример #3
0
/*
** Add elements in 'list' to list of pending jumps to "here"
** (current position)
*/
void luaK_patchtohere (FuncState *fs, int list) {
  luaK_getlabel(fs);  /* mark "here" as a jump target */
  luaK_concat(fs, &fs->jpc, list);
}
Пример #4
0
void ICACHE_FLASH_ATTR luaK_patchtohere (FuncState *fs, int list) {
  luaK_getlabel(fs);
  luaK_concat(fs, &fs->jpc, list);
}
Пример #5
0
static int code_label (FuncState *fs, OpCode op, int arg) {
  luaK_getlabel(fs);  /* those instructions may be jump targets */
  return luaK_code1(fs, op, arg);
}
Пример #6
0
/*static*/ int FuncState::code_label (/*FuncState *fs,*/ int A, int b, int jump) {
	luaK_getlabel();  /* those instructions may be jump targets */
	return luaK_codeABC(OP_LOADBOOL, A, b, jump);
}
Пример #7
0
void FuncState::luaK_patchtohere (/*FuncState *fs,*/ int list) {
	luaK_getlabel();
	luaK_concat(&jpc, list);
}