#include "llimits.h"

Go to the source code of this file.
Enumerations | |
| enum | OpMode { iABC, iABx, iAsBx, iAx } |
| enum | OpCode { OP_MOVE, OP_LOADK, OP_LOADKX, OP_LOADBOOL, OP_LOADNIL, OP_GETUPVAL, OP_GETTABUP, OP_GETTABLE, OP_SETTABUP, OP_SETUPVAL, OP_SETTABLE, OP_NEWTABLE, OP_SELF, OP_ADD, OP_SUB, OP_MUL, OP_DIV, OP_MOD, OP_POW, OP_UNM, OP_NOT, OP_LEN, OP_CONCAT, OP_JMP, OP_EQ, OP_LT, OP_LE, OP_TEST, OP_TESTSET, OP_CALL, OP_TAILCALL, OP_RETURN, OP_FORLOOP, OP_FORPREP, OP_TFORCALL, OP_TFORLOOP, OP_SETLIST, OP_CLOSURE, OP_VARARG, OP_EXTRAARG } |
| enum | OpArgMask { OpArgN, OpArgU, OpArgR, OpArgK } |
Variables | |
| LUAI_DDEC const lu_byte | luaP_opmodes [NUM_OPCODES] |
| LUAI_DDEC const char *const | luaP_opnames [NUM_OPCODES+1] |
| #define BITRK (1 << (SIZE_B - 1)) |
Definition at line 133 of file lopcodes.h.
| #define CREATE_ABx | ( | o, | |
| a, | |||
| bc | |||
| ) |
| #define CREATE_Ax | ( | o, | |
| a | |||
| ) |
Definition at line 88 of file lopcodes.h.
Referenced by callhook(), findsetreg(), getfuncname(), getjumpcontrol(), getobjname(), invertjump(), jumponcond(), luaK_nil(), luaK_patchclose(), luaK_posfix(), luaV_execute(), luaV_finishOp(), need_value(), patchtestreg(), and PrintCode().
Definition at line 92 of file lopcodes.h.
Definition at line 96 of file lopcodes.h.
Referenced by findsetreg(), getfuncname(), getobjname(), invertjump(), luaK_nil(), luaK_patchclose(), luaK_setoneret(), luaV_execute(), luaV_finishOp(), PrintCode(), and retstat().
Definition at line 108 of file lopcodes.h.
Referenced by getobjname(), luaV_execute(), and PrintCode().
Definition at line 99 of file lopcodes.h.
Referenced by findsetreg(), getobjname(), jumponcond(), luaK_nil(), luaK_posfix(), luaV_execute(), luaV_finishOp(), patchtestreg(), and PrintCode().
Definition at line 105 of file lopcodes.h.
Referenced by getobjname(), luaV_execute(), and PrintCode().
Definition at line 102 of file lopcodes.h.
Referenced by getobjname(), luaV_execute(), luaV_finishOp(), patchtestreg(), and PrintCode().
| #define GETARG_sBx | ( | i | ) | (GETARG_Bx(i)-MAXARG_sBx) |
Definition at line 111 of file lopcodes.h.
Referenced by findsetreg(), getjump(), luaV_execute(), and PrintCode().
| #define getBMode | ( | m | ) | (cast(enum OpArgMask, (luaP_opmodes[m] >> 4) & 3)) |
Definition at line 274 of file lopcodes.h.
Referenced by luaK_codeABC(), and PrintCode().
| #define getCMode | ( | m | ) | (cast(enum OpArgMask, (luaP_opmodes[m] >> 2) & 3)) |
Definition at line 275 of file lopcodes.h.
Referenced by luaK_codeABC(), luaK_codeABx(), and PrintCode().
| #define getOpMode | ( | m | ) | (cast(enum OpMode, luaP_opmodes[m] & 3)) |
Definition at line 273 of file lopcodes.h.
Referenced by luaK_codeABC(), luaK_codeABx(), and PrintCode().
Definition at line 139 of file lopcodes.h.
Referenced by kname(), and PrintCode().
Definition at line 136 of file lopcodes.h.
Referenced by freereg(), kname(), luaV_finishOp(), and PrintCode().
| #define LFIELDS_PER_FLUSH 50 |
Definition at line 284 of file lopcodes.h.
Referenced by closelistfield(), luaK_setlist(), and luaV_execute().
| #define MASK1 | ( | n, | |
| p | |||
| ) | ((~((~(Instruction)0)<<(n)))<<(p)) |
Definition at line 79 of file lopcodes.h.
| #define MAXARG_A ((1<<SIZE_A)-1) |
Definition at line 73 of file lopcodes.h.
Referenced by luaK_codeABC(), and luaK_codeABx().
| #define MAXARG_Ax MAX_INT |
Definition at line 69 of file lopcodes.h.
Referenced by addk(), codeextraarg(), and luaK_setlist().
| #define MAXARG_B ((1<<SIZE_B)-1) |
Definition at line 74 of file lopcodes.h.
Referenced by luaK_codeABC().
| #define MAXARG_Bx MAX_INT |
Definition at line 62 of file lopcodes.h.
Referenced by addprototype(), luaK_codeABx(), and luaK_codek().
| #define MAXARG_C ((1<<SIZE_C)-1) |
Definition at line 75 of file lopcodes.h.
Referenced by luaK_codeABC(), and luaK_setlist().
| #define MAXARG_sBx MAX_INT |
Definition at line 63 of file lopcodes.h.
Referenced by fixjump().
| #define MAXINDEXRK (BITRK - 1) |
Definition at line 141 of file lopcodes.h.
Referenced by luaK_exp2RK().
| #define NO_REG MAXARG_A |
Definition at line 150 of file lopcodes.h.
Referenced by dischargejpc(), jumponcond(), luaK_patchlist(), patchtestreg(), and removevalues().
| #define NUM_OPCODES (cast(int, OP_EXTRAARG) + 1) |
Definition at line 227 of file lopcodes.h.
Definition at line 46 of file lopcodes.h.
| #define POS_Ax POS_A |
Definition at line 50 of file lopcodes.h.
Definition at line 48 of file lopcodes.h.
| #define POS_Bx POS_C |
Definition at line 49 of file lopcodes.h.
Definition at line 47 of file lopcodes.h.
| #define POS_OP 0 |
Definition at line 45 of file lopcodes.h.
Definition at line 144 of file lopcodes.h.
Referenced by luaK_exp2RK().
| #define SET_OPCODE | ( | i, | |
| o | |||
| ) |
Definition at line 93 of file lopcodes.h.
Definition at line 97 of file lopcodes.h.
Referenced by discharge2reg(), invertjump(), luaK_nil(), luaK_patchclose(), luaK_setreturns(), and patchtestreg().
Definition at line 100 of file lopcodes.h.
Referenced by constructor(), luaK_nil(), luaK_posfix(), luaK_setoneret(), and luaK_setreturns().
Definition at line 103 of file lopcodes.h.
Referenced by constructor(), exprstat(), and luaK_setreturns().
Definition at line 112 of file lopcodes.h.
Referenced by fixjump().
| #define SIZE_A 8 |
Definition at line 40 of file lopcodes.h.
Definition at line 41 of file lopcodes.h.
| #define SIZE_B 9 |
Definition at line 38 of file lopcodes.h.
Definition at line 39 of file lopcodes.h.
| #define SIZE_C 9 |
Definition at line 37 of file lopcodes.h.
| #define SIZE_OP 6 |
Definition at line 43 of file lopcodes.h.
| #define testAMode | ( | m | ) | (luaP_opmodes[m] & (1 << 6)) |
Definition at line 276 of file lopcodes.h.
Referenced by findsetreg().
| #define testTMode | ( | m | ) | (luaP_opmodes[m] & (1 << 7)) |
Definition at line 277 of file lopcodes.h.
Referenced by getjumpcontrol(), and invertjump().
| enum OpArgMask |
| Enumerator | |
|---|---|
| OpArgN | |
| OpArgU | |
| OpArgR | |
| OpArgK | |
Definition at line 264 of file lopcodes.h.
| enum OpCode |
Definition at line 164 of file lopcodes.h.
| enum OpMode |
| Enumerator | |
|---|---|
| iABC | |
| iABx | |
| iAsBx | |
| iAx | |
Definition at line 31 of file lopcodes.h.
| LUAI_DDEC const lu_byte luaP_opmodes[NUM_OPCODES] |
Definition at line 271 of file lopcodes.h.
| LUAI_DDEC const char* const luaP_opnames[NUM_OPCODES+1] |
Definition at line 280 of file lopcodes.h.
1.8.8