示例#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
文件: lcode.c 项目: dx168b/luafltk
void luaK_patchtohere (FuncState *fs, int list) {
  luaK_getlabel(fs);
  luaK_concat(fs, &fs->jpc, list);
}
示例#3
0
文件: lcode.c 项目: DPFcoder/skynet
/*
** 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
文件: lcode.c 项目: Squonk42/nodelua
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
文件: lcode.cpp 项目: swizl/lua
/*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
文件: lcode.cpp 项目: swizl/lua
void FuncState::luaK_patchtohere (/*FuncState *fs,*/ int list) {
	luaK_getlabel();
	luaK_concat(&jpc, list);
}