コード例 #1
0
ファイル: lcode.c プロジェクト: henryfung01/GameCode4
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
ファイル: lcode.c プロジェクト: xiaobinshe/multitv
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);
}