| 248 | |
| 249 | |
| 250 | int luaK_codek (FuncState *fs, int reg, int k) { |
| 251 | if (k <= MAXARG_Bx) |
| 252 | return luaK_codeABx(fs, OP_LOADK, reg, k); |
| 253 | else { |
| 254 | int p = luaK_codeABx(fs, OP_LOADKX, reg, 0); |
| 255 | codeextraarg(fs, k); |
| 256 | return p; |
| 257 | } |
| 258 | } |
| 259 | |
| 260 | |
| 261 | void luaK_checkstack (FuncState *fs, int n) { |
no test coverage detected