Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include "lprefix.h"
#include <math.h>
#include <stdlib.h>
#include "lua.h"
#include "lcode.h"
#include "ldebug.h"
#include "ldo.h"
#include "lgc.h"
#include "llex.h"
#include "lmem.h"
#include "lobject.h"
#include "lopcodes.h"
#include "lparser.h"
#include "lstring.h"
#include "ltable.h"
#include "lvm.h"
Go to the source code of this file.
Macros | |
#define | lcode_c |
#define | LUA_CORE |
#define | MAXREGS 255 |
#define | hasjumps(e) ((e)->t != (e)->f) |
Functions | |
static int | tonumeral (const expdesc *e, TValue *v) |
void | luaK_nil (FuncState *fs, int from, int n) |
static int | getjump (FuncState *fs, int pc) |
static void | fixjump (FuncState *fs, int pc, int dest) |
void | luaK_concat (FuncState *fs, int *l1, int l2) |
int | luaK_jump (FuncState *fs) |
void | luaK_ret (FuncState *fs, int first, int nret) |
static int | condjump (FuncState *fs, OpCode op, int A, int B, int C) |
int | luaK_getlabel (FuncState *fs) |
static Instruction * | getjumpcontrol (FuncState *fs, int pc) |
static int | patchtestreg (FuncState *fs, int node, int reg) |
static void | removevalues (FuncState *fs, int list) |
static void | patchlistaux (FuncState *fs, int list, int vtarget, int reg, int dtarget) |
static void | dischargejpc (FuncState *fs) |
void | luaK_patchtohere (FuncState *fs, int list) |
void | luaK_patchlist (FuncState *fs, int list, int target) |
void | luaK_patchclose (FuncState *fs, int list, int level) |
static int | luaK_code (FuncState *fs, Instruction i) |
int | luaK_codeABC (FuncState *fs, OpCode o, int a, int b, int c) |
int | luaK_codeABx (FuncState *fs, OpCode o, int a, unsigned int bc) |
static int | codeextraarg (FuncState *fs, int a) |
int | luaK_codek (FuncState *fs, int reg, int k) |
void | luaK_checkstack (FuncState *fs, int n) |
void | luaK_reserveregs (FuncState *fs, int n) |
static void | freereg (FuncState *fs, int reg) |
static void | freeexp (FuncState *fs, expdesc *e) |
static void | freeexps (FuncState *fs, expdesc *e1, expdesc *e2) |
static int | addk (FuncState *fs, TValue *key, TValue *v) |
int | luaK_stringK (FuncState *fs, TString *s) |
int | luaK_intK (FuncState *fs, lua_Integer n) |
static int | luaK_numberK (FuncState *fs, lua_Number r) |
static int | boolK (FuncState *fs, int b) |
static int | nilK (FuncState *fs) |
void | luaK_setreturns (FuncState *fs, expdesc *e, int nresults) |
void | luaK_setoneret (FuncState *fs, expdesc *e) |
void | luaK_dischargevars (FuncState *fs, expdesc *e) |
static void | discharge2reg (FuncState *fs, expdesc *e, int reg) |
static void | discharge2anyreg (FuncState *fs, expdesc *e) |
static int | code_loadbool (FuncState *fs, int A, int b, int jump) |
static int | need_value (FuncState *fs, int list) |
static void | exp2reg (FuncState *fs, expdesc *e, int reg) |
void | luaK_exp2nextreg (FuncState *fs, expdesc *e) |
int | luaK_exp2anyreg (FuncState *fs, expdesc *e) |
void | luaK_exp2anyregup (FuncState *fs, expdesc *e) |
void | luaK_exp2val (FuncState *fs, expdesc *e) |
int | luaK_exp2RK (FuncState *fs, expdesc *e) |
void | luaK_storevar (FuncState *fs, expdesc *var, expdesc *ex) |
void | luaK_self (FuncState *fs, expdesc *e, expdesc *key) |
static void | negatecondition (FuncState *fs, expdesc *e) |
static int | jumponcond (FuncState *fs, expdesc *e, int cond) |
void | luaK_goiftrue (FuncState *fs, expdesc *e) |
void | luaK_goiffalse (FuncState *fs, expdesc *e) |
static void | codenot (FuncState *fs, expdesc *e) |
void | luaK_indexed (FuncState *fs, expdesc *t, expdesc *k) |
static int | validop (int op, TValue *v1, TValue *v2) |
static int | constfolding (FuncState *fs, int op, expdesc *e1, const expdesc *e2) |
static void | codeunexpval (FuncState *fs, OpCode op, expdesc *e, int line) |
static void | codebinexpval (FuncState *fs, OpCode op, expdesc *e1, expdesc *e2, int line) |
static void | codecomp (FuncState *fs, BinOpr opr, expdesc *e1, expdesc *e2) |
void | luaK_prefix (FuncState *fs, UnOpr op, expdesc *e, int line) |
void | luaK_infix (FuncState *fs, BinOpr op, expdesc *v) |
void | luaK_posfix (FuncState *fs, BinOpr op, expdesc *e1, expdesc *e2, int line) |
void | luaK_fixline (FuncState *fs, int line) |
void | luaK_setlist (FuncState *fs, int base, int nelems, int tostore) |
#define hasjumps | ( | e | ) | ((e)->t != (e)->f) |
Definition at line 36 of file lua-5.3.6/src/lcode.c.
Referenced by exp2reg(), luaK_exp2anyreg(), luaK_exp2anyregup(), luaK_exp2val(), luaK_indexed(), and tonumeral().
#define lcode_c |
Definition at line 7 of file lua-5.3.6/src/lcode.c.
#define LUA_CORE |
Definition at line 8 of file lua-5.3.6/src/lcode.c.
#define MAXREGS 255 |
Definition at line 33 of file lua-5.3.6/src/lcode.c.
Referenced by luaK_checkstack().
Definition at line 428 of file lua-5.3.6/src/lcode.c.
References cast_int, FuncState::f, LexState::h, ivalue, Proto::k, LexState::L, FuncState::ls, luaC_barrier, luaH_set(), luaM_growvector, luaV_rawequalobj, MAXARG_Ax, FuncState::nk, setivalue, setnilvalue, setobj, Proto::sizek, ttisinteger, and ttype.
Referenced by boolK(), luaK_intK(), luaK_numberK(), luaK_stringK(), and nilK().
|
static |
Definition at line 491 of file lua-5.3.6/src/lcode.c.
References addk(), and setbvalue.
Referenced by luaK_exp2RK().
|
static |
Definition at line 649 of file lua-5.3.6/src/lcode.c.
References luaK_codeABC, luaK_getlabel(), and OP_LOADBOOL.
Referenced by exp2reg().
|
static |
Definition at line 1022 of file lua-5.3.6/src/lcode.c.
References freeexps(), expdesc::info, expdesc::k, luaK_codeABC, luaK_exp2RK(), luaK_fixline(), expdesc::u, and VRELOCABLE.
Referenced by luaK_posfix().
Definition at line 1037 of file lua-5.3.6/src/lcode.c.
References cast, check_exp, condjump(), freeexps(), expdesc::info, expdesc::k, luaK_exp2RK(), OP_EQ, OPR_EQ, OPR_GE, OPR_GT, OPR_NE, RKASK, expdesc::u, VJMP, VK, and VNONRELOC.
Referenced by luaK_posfix().
|
static |
Definition at line 335 of file lua-5.3.6/src/lcode.c.
References CREATE_Ax, lua_assert, luaK_code(), MAXARG_Ax, and OP_EXTRAARG.
Referenced by luaK_codek(), and luaK_setlist().
Definition at line 910 of file lua-5.3.6/src/lcode.c.
References discharge2anyreg(), expdesc::f, freeexp(), expdesc::info, expdesc::k, lua_assert, luaK_codeABC, luaK_dischargevars(), negatecondition(), OP_NOT, removevalues(), expdesc::t, expdesc::u, VFALSE, VJMP, VK, VKFLT, VKINT, VNIL, VNONRELOC, VRELOCABLE, and VTRUE.
Referenced by luaK_prefix().
Definition at line 1004 of file lua-5.3.6/src/lcode.c.
References freeexp(), expdesc::info, expdesc::k, luaK_codeABC, luaK_exp2anyreg(), luaK_fixline(), expdesc::u, and VRELOCABLE.
Referenced by luaK_prefix().
Definition at line 158 of file lua-5.3.6/src/lcode.c.
References luaK_codeABC, and luaK_jump().
Referenced by codecomp(), and jumponcond().
Definition at line 978 of file lua-5.3.6/src/lcode.c.
References fltvalue, expdesc::ival, ivalue, expdesc::k, LexState::L, FuncState::ls, luai_numisnan, luaO_arith(), expdesc::nval, tonumeral(), ttisinteger, expdesc::u, validop(), VKFLT, and VKINT.
Referenced by luaK_posfix(), and luaK_prefix().
Definition at line 641 of file lua-5.3.6/src/lcode.c.
References discharge2reg(), FuncState::freereg, expdesc::k, luaK_reserveregs(), and VNONRELOC.
Referenced by codenot(), and jumponcond().
Definition at line 595 of file lua-5.3.6/src/lcode.c.
References getinstruction, expdesc::info, expdesc::ival, expdesc::k, lua_assert, luaK_codeABC, luaK_codek(), luaK_dischargevars(), luaK_intK(), luaK_nil(), luaK_numberK(), expdesc::nval, OP_LOADBOOL, OP_MOVE, SETARG_A, expdesc::u, VFALSE, VJMP, VK, VKFLT, VKINT, VNIL, VNONRELOC, VRELOCABLE, and VTRUE.
Referenced by discharge2anyreg(), and exp2reg().
|
static |
Definition at line 242 of file lua-5.3.6/src/lcode.c.
References FuncState::jpc, NO_JUMP, NO_REG, patchlistaux(), and FuncState::pc.
Referenced by luaK_code().
Definition at line 675 of file lua-5.3.6/src/lcode.c.
References code_loadbool(), discharge2reg(), expdesc::f, hasjumps, expdesc::info, expdesc::k, luaK_concat(), luaK_getlabel(), luaK_jump(), luaK_patchtohere(), need_value(), NO_JUMP, patchlistaux(), expdesc::t, expdesc::u, VJMP, and VNONRELOC.
Referenced by luaK_exp2anyreg(), luaK_exp2nextreg(), and luaK_storevar().
|
static |
Definition at line 103 of file lua-5.3.6/src/lcode.c.
References Proto::code, FuncState::f, FuncState::ls, lua_assert, luaX_syntaxerror(), MAXARG_sBx, NO_JUMP, and SETARG_sBx.
Referenced by luaK_concat(), and patchlistaux().
Definition at line 397 of file lua-5.3.6/src/lcode.c.
References freereg(), expdesc::info, expdesc::k, expdesc::u, and VNONRELOC.
Referenced by codenot(), codeunexpval(), jumponcond(), luaK_exp2nextreg(), luaK_posfix(), luaK_self(), and luaK_storevar().
Definition at line 407 of file lua-5.3.6/src/lcode.c.
References freereg(), expdesc::info, expdesc::k, expdesc::u, and VNONRELOC.
Referenced by codebinexpval(), and codecomp().
|
static |
Definition at line 386 of file lua-5.3.6/src/lcode.c.
References FuncState::freereg, ISK, lua_assert, and FuncState::nactvar.
Referenced by freeexp(), freeexps(), and luaK_dischargevars().
|
static |
Definition at line 90 of file lua-5.3.6/src/lcode.c.
References Proto::code, FuncState::f, GETARG_sBx, and NO_JUMP.
Referenced by luaK_concat(), luaK_patchclose(), need_value(), patchlistaux(), and removevalues().
|
static |
Definition at line 179 of file lua-5.3.6/src/lcode.c.
References Proto::code, FuncState::f, GET_OPCODE, and testTMode.
Referenced by need_value(), negatecondition(), and patchtestreg().
Definition at line 839 of file lua-5.3.6/src/lcode.c.
References cond(), condjump(), discharge2anyreg(), freeexp(), GET_OPCODE, GETARG_B, getinstruction, expdesc::info, expdesc::k, NO_REG, OP_NOT, OP_TEST, OP_TESTSET, FuncState::pc, expdesc::u, and VRELOCABLE.
Referenced by luaK_goiffalse(), and luaK_goiftrue().
void luaK_checkstack | ( | FuncState * | fs, |
int | n ) |
Definition at line 361 of file lua-5.3.6/src/lcode.c.
References cast_byte, FuncState::f, FuncState::freereg, FuncState::ls, luaX_syntaxerror(), MAXREGS, and Proto::maxstacksize.
Referenced by luaK_reserveregs().
|
static |
Definition at line 293 of file lua-5.3.6/src/lcode.c.
References Proto::code, dischargejpc(), FuncState::f, LexState::L, LexState::lastline, Proto::lineinfo, FuncState::ls, luaM_growvector, MAX_INT, FuncState::pc, Proto::sizecode, and Proto::sizelineinfo.
Referenced by codeextraarg(), luaK_codeABC(), and luaK_codeABx().
Definition at line 312 of file lua-5.3.6/src/lcode.c.
References CREATE_ABC, getBMode, getCMode, getOpMode, iABC, lua_assert, luaK_code(), MAXARG_A, MAXARG_B, MAXARG_C, and OpArgN.
Definition at line 324 of file lua-5.3.6/src/lcode.c.
References CREATE_ABx, getCMode, getOpMode, iABx, iAsBx, lua_assert, luaK_code(), MAXARG_A, MAXARG_Bx, and OpArgN.
Referenced by luaK_codek().
int luaK_codek | ( | FuncState * | fs, |
int | reg, | ||
int | k ) |
Definition at line 346 of file lua-5.3.6/src/lcode.c.
References codeextraarg(), luaK_codeABx(), MAXARG_Bx, OP_LOADK, and OP_LOADKX.
Referenced by discharge2reg().
void luaK_concat | ( | FuncState * | fs, |
int * | l1, | ||
int | l2 ) |
Definition at line 116 of file lua-5.3.6/src/lcode.c.
References fixjump(), getjump(), next, and NO_JUMP.
Referenced by exp2reg(), luaK_goiffalse(), luaK_goiftrue(), luaK_jump(), luaK_patchtohere(), and luaK_posfix().
Definition at line 556 of file lua-5.3.6/src/lcode.c.
References freereg(), expdesc::idx, expdesc::ind, expdesc::info, expdesc::k, lua_assert, luaK_codeABC, luaK_setoneret(), OP_GETTABLE, OP_GETTABUP, OP_GETUPVAL, expdesc::t, expdesc::u, VCALL, VINDEXED, VLOCAL, VNONRELOC, VRELOCABLE, expdesc::vt, VUPVAL, and VVARARG.
Referenced by codenot(), discharge2reg(), luaK_exp2anyreg(), luaK_exp2nextreg(), luaK_exp2val(), luaK_goiffalse(), luaK_goiftrue(), and luaK_posfix().
Definition at line 715 of file lua-5.3.6/src/lcode.c.
References exp2reg(), hasjumps, expdesc::info, expdesc::k, luaK_dischargevars(), luaK_exp2nextreg(), FuncState::nactvar, expdesc::u, and VNONRELOC.
Referenced by codeunexpval(), luaK_exp2anyregup(), luaK_exp2RK(), luaK_exp2val(), luaK_self(), and luaK_storevar().
Definition at line 734 of file lua-5.3.6/src/lcode.c.
References hasjumps, expdesc::k, luaK_exp2anyreg(), and VUPVAL.
Definition at line 703 of file lua-5.3.6/src/lcode.c.
References exp2reg(), freeexp(), FuncState::freereg, luaK_dischargevars(), and luaK_reserveregs().
Referenced by luaK_exp2anyreg(), luaK_infix(), and luaK_posfix().
Definition at line 758 of file lua-5.3.6/src/lcode.c.
References boolK(), expdesc::info, expdesc::ival, expdesc::k, luaK_exp2anyreg(), luaK_exp2val(), luaK_intK(), luaK_numberK(), MAXINDEXRK, nilK(), expdesc::nval, RKASK, expdesc::u, VFALSE, VK, VKFLT, VKINT, VNIL, and VTRUE.
Referenced by codebinexpval(), codecomp(), luaK_indexed(), luaK_infix(), luaK_self(), and luaK_storevar().
Definition at line 744 of file lua-5.3.6/src/lcode.c.
References hasjumps, luaK_dischargevars(), and luaK_exp2anyreg().
Referenced by luaK_exp2RK(), and luaK_posfix().
void luaK_fixline | ( | FuncState * | fs, |
int | line ) |
Definition at line 1177 of file lua-5.3.6/src/lcode.c.
References FuncState::f, Proto::lineinfo, and FuncState::pc.
Referenced by codebinexpval(), and codeunexpval().
int luaK_getlabel | ( | FuncState * | fs | ) |
Definition at line 168 of file lua-5.3.6/src/lcode.c.
References FuncState::lasttarget, and FuncState::pc.
Referenced by code_loadbool(), exp2reg(), and luaK_patchtohere().
Definition at line 884 of file lua-5.3.6/src/lcode.c.
References expdesc::f, expdesc::info, jumponcond(), expdesc::k, luaK_concat(), luaK_dischargevars(), luaK_patchtohere(), NO_JUMP, expdesc::t, expdesc::u, VFALSE, VJMP, and VNIL.
Referenced by luaK_infix().
Definition at line 857 of file lua-5.3.6/src/lcode.c.
References expdesc::f, expdesc::info, jumponcond(), expdesc::k, luaK_concat(), luaK_dischargevars(), luaK_patchtohere(), negatecondition(), NO_JUMP, expdesc::t, expdesc::u, VJMP, VK, VKFLT, VKINT, and VTRUE.
Referenced by luaK_infix().
Definition at line 946 of file lua-5.3.6/src/lcode.c.
References hasjumps, expdesc::idx, expdesc::ind, expdesc::info, expdesc::k, lua_assert, luaK_exp2RK(), expdesc::t, expdesc::u, VINDEXED, vkisinreg, VLOCAL, expdesc::vt, and VUPVAL.
Definition at line 1086 of file lua-5.3.6/src/lcode.c.
References luaK_exp2nextreg(), luaK_exp2RK(), luaK_goiffalse(), luaK_goiftrue(), NULL, OPR_ADD, OPR_AND, OPR_BAND, OPR_BOR, OPR_BXOR, OPR_CONCAT, OPR_DIV, OPR_IDIV, OPR_MOD, OPR_MUL, OPR_OR, OPR_POW, OPR_SHL, OPR_SHR, OPR_SUB, and tonumeral().
int luaK_intK | ( | FuncState * | fs, |
lua_Integer | n ) |
Definition at line 471 of file lua-5.3.6/src/lcode.c.
References addk(), cast, setivalue, and setpvalue.
Referenced by discharge2reg(), fornum(), and luaK_exp2RK().
int luaK_jump | ( | FuncState * | fs | ) |
Definition at line 136 of file lua-5.3.6/src/lcode.c.
References FuncState::jpc, luaK_codeAsBx, luaK_concat(), NO_JUMP, and OP_JMP.
Referenced by condjump(), and exp2reg().
void luaK_nil | ( | FuncState * | fs, |
int | from, | ||
int | n ) |
Definition at line 64 of file lua-5.3.6/src/lcode.c.
References Proto::code, FuncState::f, GET_OPCODE, GETARG_A, GETARG_B, FuncState::lasttarget, luaK_codeABC, OP_LOADNIL, FuncState::pc, SETARG_A, and SETARG_B.
Referenced by discharge2reg().
|
static |
Definition at line 481 of file lua-5.3.6/src/lcode.c.
References addk(), and setfltvalue.
Referenced by discharge2reg(), and luaK_exp2RK().
void luaK_patchclose | ( | FuncState * | fs, |
int | list, | ||
int | level ) |
Definition at line 278 of file lua-5.3.6/src/lcode.c.
References Proto::code, FuncState::f, GET_OPCODE, GETARG_A, getjump(), lua_assert, NO_JUMP, OP_JMP, and SETARG_A.
void luaK_patchlist | ( | FuncState * | fs, |
int | list, | ||
int | target ) |
Definition at line 263 of file lua-5.3.6/src/lcode.c.
References lua_assert, luaK_patchtohere(), NO_REG, patchlistaux(), and FuncState::pc.
void luaK_patchtohere | ( | FuncState * | fs, |
int | list ) |
Definition at line 252 of file lua-5.3.6/src/lcode.c.
References FuncState::jpc, luaK_concat(), and luaK_getlabel().
Referenced by exp2reg(), luaK_goiffalse(), luaK_goiftrue(), and luaK_patchlist().
Definition at line 1124 of file lua-5.3.6/src/lcode.c.
References cast, codebinexpval(), codecomp(), constfolding(), expdesc::f, freeexp(), GET_OPCODE, GETARG_B, getinstruction, expdesc::info, expdesc::k, lua_assert, LUA_OPADD, luaK_concat(), luaK_dischargevars(), luaK_exp2nextreg(), luaK_exp2val(), NO_JUMP, OP_ADD, OP_CONCAT, OPR_ADD, OPR_AND, OPR_BAND, OPR_BOR, OPR_BXOR, OPR_CONCAT, OPR_DIV, OPR_EQ, OPR_GE, OPR_GT, OPR_IDIV, OPR_LE, OPR_LT, OPR_MOD, OPR_MUL, OPR_NE, OPR_OR, OPR_POW, OPR_SHL, OPR_SHR, OPR_SUB, SETARG_B, expdesc::t, expdesc::u, and VRELOCABLE.
Definition at line 1066 of file lua-5.3.6/src/lcode.c.
References cast, codenot(), codeunexpval(), constfolding(), lua_assert, LUA_OPUNM, NO_JUMP, OP_UNM, OPR_BNOT, OPR_LEN, OPR_MINUS, OPR_NOT, and VKINT.
void luaK_reserveregs | ( | FuncState * | fs, |
int | n ) |
Definition at line 375 of file lua-5.3.6/src/lcode.c.
References FuncState::freereg, and luaK_checkstack().
Referenced by discharge2anyreg(), luaK_exp2nextreg(), luaK_self(), and luaK_setreturns().
void luaK_ret | ( | FuncState * | fs, |
int | first, | ||
int | nret ) |
Definition at line 149 of file lua-5.3.6/src/lcode.c.
References luaK_codeABC, and OP_RETURN.
Definition at line 809 of file lua-5.3.6/src/lcode.c.
References freeexp(), FuncState::freereg, expdesc::info, expdesc::k, luaK_codeABC, luaK_exp2anyreg(), luaK_exp2RK(), luaK_reserveregs(), OP_SELF, expdesc::u, and VNONRELOC.
void luaK_setlist | ( | FuncState * | fs, |
int | base, | ||
int | nelems, | ||
int | tostore ) |
Definition at line 1189 of file lua-5.3.6/src/lcode.c.
References codeextraarg(), FuncState::freereg, LFIELDS_PER_FLUSH, FuncState::ls, lua_assert, LUA_MULTRET, luaK_codeABC, luaX_syntaxerror(), MAXARG_Ax, MAXARG_C, and OP_SETLIST.
Definition at line 539 of file lua-5.3.6/src/lcode.c.
References GETARG_A, GETARG_C, getinstruction, expdesc::info, expdesc::k, lua_assert, SETARG_B, expdesc::u, VCALL, VNONRELOC, VRELOCABLE, and VVARARG.
Referenced by luaK_dischargevars().
Definition at line 515 of file lua-5.3.6/src/lcode.c.
References FuncState::freereg, getinstruction, expdesc::k, lua_assert, LUA_MULTRET, luaK_reserveregs(), SETARG_A, SETARG_B, SETARG_C, VCALL, and VVARARG.
Definition at line 782 of file lua-5.3.6/src/lcode.c.
References exp2reg(), freeexp(), expdesc::idx, expdesc::ind, expdesc::info, expdesc::k, lua_assert, luaK_codeABC, luaK_exp2anyreg(), luaK_exp2RK(), OP_SETTABLE, OP_SETTABUP, OP_SETUPVAL, expdesc::t, expdesc::u, VINDEXED, VLOCAL, expdesc::vt, and VUPVAL.
Definition at line 458 of file lua-5.3.6/src/lcode.c.
References addk(), LexState::L, FuncState::ls, s, and setsvalue.
|
static |
Definition at line 659 of file lua-5.3.6/src/lcode.c.
References GET_OPCODE, getjump(), getjumpcontrol(), NO_JUMP, and OP_TESTSET.
Referenced by exp2reg().
Definition at line 825 of file lua-5.3.6/src/lcode.c.
References GET_OPCODE, GETARG_A, getjumpcontrol(), expdesc::info, lua_assert, OP_TEST, OP_TESTSET, SETARG_A, testTMode, and expdesc::u.
Referenced by codenot(), and luaK_goiftrue().
|
static |
Definition at line 501 of file lua-5.3.6/src/lcode.c.
References addk(), LexState::h, LexState::L, FuncState::ls, sethvalue, and setnilvalue.
Referenced by luaK_exp2RK().
|
static |
Definition at line 224 of file lua-5.3.6/src/lcode.c.
References fixjump(), getjump(), next, NO_JUMP, and patchtestreg().
Referenced by dischargejpc(), exp2reg(), and luaK_patchlist().
|
static |
Definition at line 195 of file lua-5.3.6/src/lcode.c.
References CREATE_ABC, GET_OPCODE, GETARG_B, GETARG_C, getjumpcontrol(), NO_REG, OP_TEST, OP_TESTSET, and SETARG_A.
Referenced by patchlistaux(), and removevalues().
|
static |
Definition at line 213 of file lua-5.3.6/src/lcode.c.
References getjump(), NO_JUMP, NO_REG, and patchtestreg().
Referenced by codenot().
Definition at line 43 of file lua-5.3.6/src/lcode.c.
References hasjumps, expdesc::ival, expdesc::k, expdesc::nval, setfltvalue, setivalue, expdesc::u, VKFLT, and VKINT.
Referenced by constfolding(), and luaK_infix().
Definition at line 960 of file lua-5.3.6/src/lcode.c.
References LUA_OPBAND, LUA_OPBNOT, LUA_OPBOR, LUA_OPBXOR, LUA_OPDIV, LUA_OPIDIV, LUA_OPMOD, LUA_OPSHL, LUA_OPSHR, nvalue, and tointeger.
Referenced by constfolding().